Project

General

Profile

Feature #11530 » support-hooks-in-mailer-for-r10463.patch

Kouhei Sutou, 2012-09-24 04:25

View differences:

app/views/mailer/wiki_content_added.text.erb (working copy)
<%= @wiki_content.comments %>
<%= @wiki_content_url %>
<%= call_hook(:view_mailer_wiki_content_added_bottom,
:wiki_content => @wiki_content) %>
app/views/mailer/wiki_content_updated.html.erb (working copy)
<p><%= l(:label_view_diff) %>:<br />
<%= link_to h(@wiki_diff_url), @wiki_diff_url %></p>
<%= call_hook(:view_mailer_wiki_content_updated_bottom,
:wiki_content => @wiki_content) %>
app/views/mailer/wiki_content_updated.text.erb (working copy)
<%= @wiki_content_url %>
<%= l(:label_view_diff) %>:
<%= @wiki_diff_url %>
<%= call_hook(:view_mailer_wiki_content_updated_bottom,
:wiki_content => @wiki_content) %>
app/views/mailer/wiki_content_added.html.erb (working copy)
<p><%= l(:mail_body_wiki_content_added, :id => link_to(h(@wiki_content.page.pretty_title), @wiki_content_url),
:author => h(@wiki_content.author)).html_safe %><br />
<em><%=h @wiki_content.comments %></em></p>
<%= call_hook(:view_mailer_wiki_content_added_bottom,
:wiki_content => @wiki_content) %>
(2-2/8)