Project

General

Profile

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

Kouhei Sutou, 2015-10-08 14:26

View differences:

app/views/mailer/wiki_content_added.html.erb (working copy)
1 1
<p><%= l(:mail_body_wiki_content_added, :id => link_to(@wiki_content.page.pretty_title, @wiki_content_url),
2 2
                                        :author => h(@wiki_content.author)).html_safe %><br />
3 3
<em><%= @wiki_content.comments %></em></p>
4

  
5
<%= call_hook(:view_mailer_wiki_content_added_bottom,
6
              :wiki_content => @wiki_content) %>
app/views/mailer/wiki_content_added.text.erb (working copy)
3 3
<%= @wiki_content.comments %>
4 4

  
5 5
<%= @wiki_content_url %>
6

  
7
<%= call_hook(:view_mailer_wiki_content_added_bottom,
8
              :wiki_content => @wiki_content) %>
app/views/mailer/wiki_content_updated.html.erb (working copy)
4 4

  
5 5
<p><%= l(:label_view_diff) %>:<br />
6 6
<%= link_to @wiki_diff_url, @wiki_diff_url %></p>
7

  
8
<%= call_hook(:view_mailer_wiki_content_updated_bottom,
9
              :wiki_content => @wiki_content) %>
app/views/mailer/wiki_content_updated.text.erb (working copy)
6 6
<%= @wiki_content_url %>
7 7
<%= l(:label_view_diff) %>:
8 8
<%= @wiki_diff_url %>
9

  
10
<%= call_hook(:view_mailer_wiki_content_updated_bottom,
11
              :wiki_content => @wiki_content) %>
(3-3/8)