Index: app/views/mailer/account_activated.html.erb =================================================================== --- app/views/mailer/account_activated.html.erb (revision 18899) +++ app/views/mailer/account_activated.html.erb (working copy) @@ -1,2 +1,4 @@

<%= l(:notice_account_activated) %>

<%= l(:label_login) %>: <%= link_to @login_url, @login_url %>

+ +<%= call_hook(:view_mailer_account_activated_bottom) %> Index: app/views/mailer/account_activated.text.erb =================================================================== --- app/views/mailer/account_activated.text.erb (revision 18899) +++ app/views/mailer/account_activated.text.erb (working copy) @@ -1,2 +1,4 @@ <%= l(:notice_account_activated) %> <%= l(:label_login) %>: <%= @login_url %> + +<%= call_hook(:view_mailer_account_activated_bottom) %> Index: app/views/mailer/account_activation_request.html.erb =================================================================== --- app/views/mailer/account_activation_request.html.erb (revision 18899) +++ app/views/mailer/account_activation_request.html.erb (working copy) @@ -1,2 +1,5 @@

<%= l(:mail_body_account_activation_request, h(@new_user.login)) %>

<%= link_to @url, @url %>

+ +<%= call_hook(:view_mailer_account_activation_request_bottom, + :user => @user) %> Index: app/views/mailer/account_activation_request.text.erb =================================================================== --- app/views/mailer/account_activation_request.text.erb (revision 18899) +++ app/views/mailer/account_activation_request.text.erb (working copy) @@ -1,2 +1,5 @@ <%= l(:mail_body_account_activation_request, @new_user.login) %> <%= @url %> + +<%= call_hook(:view_mailer_account_activation_request_bottom, + :user => @user) %> Index: app/views/mailer/account_information.html.erb =================================================================== --- app/views/mailer/account_information.html.erb (revision 18899) +++ app/views/mailer/account_information.html.erb (working copy) @@ -11,3 +11,6 @@ <% end %>

<%= l(:label_login) %>: <%= link_to @login_url, @login_url %>

+ +<%= call_hook(:view_mailer_account_information_bottom, + :user => @user) %> Index: app/views/mailer/account_information.text.erb =================================================================== --- app/views/mailer/account_information.text.erb (revision 18899) +++ app/views/mailer/account_information.text.erb (working copy) @@ -4,3 +4,6 @@ <% if @password %>* <%= l(:field_password) %>: <%= @password %><% end %> <% end %> <%= l(:label_login) %>: <%= @login_url %> + +<%= call_hook(:view_mailer_account_information_bottom, + :user => @user) %> Index: app/views/mailer/attachments_added.html.erb =================================================================== --- app/views/mailer/attachments_added.html.erb (revision 18899) +++ app/views/mailer/attachments_added.html.erb (working copy) @@ -3,3 +3,6 @@ + +<%= call_hook(:view_mailer_attachments_added_bottom, + :attachments => @attachments) %> Index: app/views/mailer/attachments_added.text.erb =================================================================== --- app/views/mailer/attachments_added.text.erb (revision 18899) +++ app/views/mailer/attachments_added.text.erb (working copy) @@ -2,3 +2,6 @@ - <%= attachment.filename %><% end %> <%= @added_to_url %> + +<%= call_hook(:view_mailer_attachments_added_bottom, + :attachments => @attachments) %> Index: app/views/mailer/document_added.html.erb =================================================================== --- app/views/mailer/document_added.html.erb (revision 18899) +++ app/views/mailer/document_added.html.erb (working copy) @@ -1,3 +1,6 @@ <%= link_to(@document.title, @document_url) %> (<%= @document.category.name %>)

<%= textilizable(@document, :description, :only_path => false) %> + +<%= call_hook(:view_mailer_document_added_bottom, + :document => @document) %> Index: app/views/mailer/document_added.text.erb =================================================================== --- app/views/mailer/document_added.text.erb (revision 18899) +++ app/views/mailer/document_added.text.erb (working copy) @@ -2,3 +2,6 @@ <%= @document_url %> <%= @document.description %> + +<%= call_hook(:view_mailer_document_added_bottom, + :document => @document) %> Index: app/views/mailer/issue_add.html.erb =================================================================== --- app/views/mailer/issue_add.html.erb (revision 18899) +++ app/views/mailer/issue_add.html.erb (working copy) @@ -1,3 +1,8 @@ <%= l(:text_issue_added, :id => link_to("##{@issue.id}", @issue_url), :author => h(@issue.author)).html_safe %>
<%= render :partial => 'issue', :formats => [:html], :locals => { :issue => @issue, :user => @user, :issue_url => @issue_url } %> + +<%= call_hook(:view_mailer_issue_add_bottom, + :issue => @issue, + :users => @users, + :issue_url => @issue_url) %> Index: app/views/mailer/issue_add.text.erb =================================================================== --- app/views/mailer/issue_add.text.erb (revision 18899) +++ app/views/mailer/issue_add.text.erb (working copy) @@ -2,3 +2,8 @@ ---------------------------------------- <%= render :partial => 'issue', :formats => [:text], :locals => { :issue => @issue, :user => @user, :issue_url => @issue_url } %> + +<%= call_hook(:view_mailer_issue_add_bottom, + :issue => @issue, + :users => @users, + :issue_url => @issue_url) %> Index: app/views/mailer/issue_edit.html.erb =================================================================== --- app/views/mailer/issue_edit.html.erb (revision 18899) +++ app/views/mailer/issue_edit.html.erb (working copy) @@ -13,3 +13,8 @@ <%= textilizable(@journal, :notes, :only_path => false) %>
<%= render :partial => 'issue', :formats => [:html], :locals => { :issue => @issue, :user => @user, :issue_url => @issue_url } %> + +<%= call_hook(:view_mailer_issue_edit_bottom, + :issue => @issue, + :users => @users, + :issue_url => @issue_url) %> Index: app/views/mailer/issue_edit.text.erb =================================================================== --- app/views/mailer/issue_edit.text.erb (revision 18899) +++ app/views/mailer/issue_edit.text.erb (working copy) @@ -10,3 +10,8 @@ <% end -%> ---------------------------------------- <%= render :partial => 'issue', :formats => [:text], :locals => { :issue => @issue, :user => @user, :issue_url => @issue_url } %> + +<%= call_hook(:view_mailer_issue_edit_bottom, + :issue => @issue, + :users => @users, + :issue_url => @issue_url) %> Index: app/views/mailer/lost_password.html.erb =================================================================== --- app/views/mailer/lost_password.html.erb (revision 18899) +++ app/views/mailer/lost_password.html.erb (working copy) @@ -4,3 +4,5 @@

<%= l(:mail_body_lost_password_validity) %>

<%= l(:field_login) %>: <%= @token.user.login %>

+ +<%= call_hook(:view_mailer_lost_password_bottom) %> Index: app/views/mailer/lost_password.text.erb =================================================================== --- app/views/mailer/lost_password.text.erb (revision 18899) +++ app/views/mailer/lost_password.text.erb (working copy) @@ -4,3 +4,5 @@ <%= l(:mail_body_lost_password_validity) %> <%= l(:field_login) %>: <%= @token.user.login %> + +<%= call_hook(:view_mailer_lost_password_bottom) %> Index: app/views/mailer/message_posted.html.erb =================================================================== --- app/views/mailer/message_posted.html.erb (revision 18899) +++ app/views/mailer/message_posted.html.erb (working copy) @@ -2,3 +2,6 @@ <%= @message.author %> <%= textilizable(@message, :content, :only_path => false) %> + +<%= call_hook(:view_mailer_message_posted_bottom, + :message => @message) %> Index: app/views/mailer/message_posted.text.erb =================================================================== --- app/views/mailer/message_posted.text.erb (revision 18899) +++ app/views/mailer/message_posted.text.erb (working copy) @@ -2,3 +2,6 @@ <%= @message.author %> <%= @message.content %> + +<%= call_hook(:view_mailer_message_posted_bottom, + :message => @message) %> Index: app/views/mailer/news_added.html.erb =================================================================== --- app/views/mailer/news_added.html.erb (revision 18899) +++ app/views/mailer/news_added.html.erb (working copy) @@ -2,3 +2,6 @@ <%= @news.author.name %> <%= textilizable(@news, :description, :only_path => false) %> + +<%= call_hook(:view_mailer_news_added_bottom, + :news => @news) %> Index: app/views/mailer/news_added.text.erb =================================================================== --- app/views/mailer/news_added.text.erb (revision 18899) +++ app/views/mailer/news_added.text.erb (working copy) @@ -3,3 +3,6 @@ <%= @news.author.name %> <%= @news.description %> + +<%= call_hook(:view_mailer_news_added_bottom, + :news => @news) %> Index: app/views/mailer/news_comment_added.html.erb =================================================================== --- app/views/mailer/news_comment_added.html.erb (revision 18899) +++ app/views/mailer/news_comment_added.html.erb (working copy) @@ -3,3 +3,7 @@

<%= l(:text_user_wrote, :value => h(@comment.author)) %>

<%= textilizable @comment, :comments, :only_path => false %> + +<%= call_hook(:view_mailer_news_comment_added_bottom, + :news => @news, + :comment => @comment) %> Index: app/views/mailer/news_comment_added.text.erb =================================================================== --- app/views/mailer/news_comment_added.text.erb (revision 18899) +++ app/views/mailer/news_comment_added.text.erb (working copy) @@ -4,3 +4,7 @@ <%= l(:text_user_wrote, :value => @comment.author) %> <%= @comment.comments %> + +<%= call_hook(:view_mailer_news_comment_added_bottom, + :news => @news, + :comment => @comment) %> Index: app/views/mailer/register.html.erb =================================================================== --- app/views/mailer/register.html.erb (revision 18899) +++ app/views/mailer/register.html.erb (working copy) @@ -1,2 +1,4 @@

<%= l(:mail_body_register) %>
<%= link_to @url, @url %>

+ +<%= call_hook(:view_mailer_register_bottom) %> Index: app/views/mailer/register.text.erb =================================================================== --- app/views/mailer/register.text.erb (revision 18899) +++ app/views/mailer/register.text.erb (working copy) @@ -1,2 +1,4 @@ <%= l(:mail_body_register) %> <%= @url %> + +<%= call_hook(:view_mailer_register_bottom) %> Index: app/views/mailer/reminder.html.erb =================================================================== --- app/views/mailer/reminder.html.erb (revision 18899) +++ app/views/mailer/reminder.html.erb (working copy) @@ -7,3 +7,7 @@

<%= link_to l(:label_issue_view_all), @issues_url %> (<%= l(:label_x_open_issues_abbr, :count => @open_issues_count) %>)

+ +<%= call_hook(:view_mailer_reminder_bottom, + :issues => @issues, + :days => @days) %> Index: app/views/mailer/reminder.text.erb =================================================================== --- app/views/mailer/reminder.text.erb (revision 18899) +++ app/views/mailer/reminder.text.erb (working copy) @@ -6,3 +6,7 @@ <%= l(:label_issue_view_all)%> (<%= l(:label_x_open_issues_abbr, :count => @open_issues_count) %>) <%= @issues_url %> + +<%= call_hook(:view_mailer_reminder_bottom, + :issues => @issues, + :days => @days) %> Index: app/views/mailer/security_notification.html.erb =================================================================== --- app/views/mailer/security_notification.html.erb (revision 18899) +++ app/views/mailer/security_notification.html.erb (working copy) @@ -10,3 +10,5 @@

<%= l(:field_user) %>: <%= @sender.login %>
<%= l(:field_remote_ip) %>: <%= @remote_ip %>
<%= l(:label_date) %>: <%= format_time Time.now, true %>

+ +<%= call_hook(:view_mailer_security_notification_bottom) %> Index: app/views/mailer/security_notification.text.erb =================================================================== --- app/views/mailer/security_notification.text.erb (revision 18899) +++ app/views/mailer/security_notification.text.erb (working copy) @@ -5,3 +5,5 @@ <%= l(:field_user) %>: <%= @sender.login %> <%= l(:field_remote_ip) %>: <%= @remote_ip %> <%= l(:label_date) %>: <%= format_time Time.now, true %> + +<%= call_hook(:view_mailer_security_notification_bottom) %> Index: app/views/mailer/settings_updated.html.erb =================================================================== --- app/views/mailer/settings_updated.html.erb (revision 18899) +++ app/views/mailer/settings_updated.html.erb (working copy) @@ -12,3 +12,5 @@ <%= l(:field_remote_ip) %>: <%= @remote_ip %>
<%= l(:label_date) %>: <%= format_time Time.now, true %>

+<%= call_hook(:view_mailer_settings_updated_bottom, + :changes => @changes) %> Index: app/views/mailer/settings_updated.text.erb =================================================================== --- app/views/mailer/settings_updated.text.erb (revision 18899) +++ app/views/mailer/settings_updated.text.erb (working copy) @@ -10,3 +10,5 @@ <%= l(:field_remote_ip) %>: <%= @remote_ip %> <%= l(:label_date) %>: <%= format_time Time.now, true %> +<%= call_hook(:view_mailer_settings_updated_bottom, + :changes => @changes) %> Index: app/views/mailer/test_email.html.erb =================================================================== --- app/views/mailer/test_email.html.erb (revision 18899) +++ app/views/mailer/test_email.html.erb (working copy) @@ -1,2 +1,4 @@

This is a test email sent by Redmine.
Redmine URL: <%= link_to @url, @url %>

+ +<%= call_hook(:view_mailer_test_email_bottom) %> Index: app/views/mailer/test_email.text.erb =================================================================== --- app/views/mailer/test_email.text.erb (revision 18899) +++ app/views/mailer/test_email.text.erb (working copy) @@ -1,2 +1,4 @@ This is a test email sent by Redmine. Redmine URL: <%= @url %> + +<%= call_hook(:view_mailer_test_email_bottom) %> Index: app/views/mailer/wiki_content_added.html.erb =================================================================== --- app/views/mailer/wiki_content_added.html.erb (revision 18899) +++ app/views/mailer/wiki_content_added.html.erb (working copy) @@ -1,3 +1,6 @@

<%= l(:mail_body_wiki_content_added, :id => link_to(@wiki_content.page.pretty_title, @wiki_content_url), :author => h(@wiki_content.author)).html_safe %>
<%= @wiki_content.comments %>

+ +<%= call_hook(:view_mailer_wiki_content_added_bottom, + :wiki_content => @wiki_content) %> Index: app/views/mailer/wiki_content_added.text.erb =================================================================== --- app/views/mailer/wiki_content_added.text.erb (revision 18899) +++ app/views/mailer/wiki_content_added.text.erb (working copy) @@ -3,3 +3,6 @@ <%= @wiki_content.comments %> <%= @wiki_content_url %> + +<%= call_hook(:view_mailer_wiki_content_added_bottom, + :wiki_content => @wiki_content) %> Index: app/views/mailer/wiki_content_updated.html.erb =================================================================== --- app/views/mailer/wiki_content_updated.html.erb (revision 18899) +++ app/views/mailer/wiki_content_updated.html.erb (working copy) @@ -4,3 +4,6 @@

<%= l(:label_view_diff) %>:
<%= link_to @wiki_diff_url, @wiki_diff_url %>

+ +<%= call_hook(:view_mailer_wiki_content_updated_bottom, + :wiki_content => @wiki_content) %> Index: app/views/mailer/wiki_content_updated.text.erb =================================================================== --- app/views/mailer/wiki_content_updated.text.erb (revision 18899) +++ app/views/mailer/wiki_content_updated.text.erb (working copy) @@ -6,3 +6,6 @@ <%= @wiki_content_url %> <%= l(:label_view_diff) %>: <%= @wiki_diff_url %> + +<%= call_hook(:view_mailer_wiki_content_updated_bottom, + :wiki_content => @wiki_content) %>