Fix comments missing in wiki add/update mails #986

This commit is contained in:
Felix Schäfer 2012-05-19 00:00:16 +02:00
parent 1d3cdf1fa9
commit 93abdcf487
4 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,3 @@
<p><%= l(:mail_body_wiki_content_added, :id => link_to(h(@wiki_content.page.pretty_title), @wiki_content_url),
:author => h(@wiki_content.author)) %><br />
<em><%=h @wiki_content.comments %></em></p>
<em><%=h @wiki_content.last_journal.notes %></em></p>

View File

@ -1,5 +1,5 @@
<%= l(:mail_body_wiki_content_added, :id => h(@wiki_content.page.pretty_title),
:author => h(@wiki_content.author)) %>
<%= @wiki_content.comments %>
<%= @wiki_content.last_journal.notes %>
<%= @wiki_content_url %>

View File

@ -1,6 +1,6 @@
<p><%= l(:mail_body_wiki_content_updated, :id => link_to(h(@wiki_content.page.pretty_title), @wiki_content_url),
:author => h(@wiki_content.author)) %><br />
<em><%=h @wiki_content.comments %></em></p>
<em><%=h @wiki_content.last_journal.notes %></em></p>
<p><%= l(:label_view_diff) %>:<br />
<%= link_to h(@wiki_diff_url), @wiki_diff_url %></p>

View File

@ -1,6 +1,6 @@
<%= l(:mail_body_wiki_content_updated, :id => h(@wiki_content.page.pretty_title),
:author => h(@wiki_content.author)) %>
<%= @wiki_content.comments %>
<%= @wiki_content.last_journal.notes %>
<%= @wiki_content.page.pretty_title %>:
<%= @wiki_content_url %>