Feature #11530 » support-hooks-in-mailer-for-r16963.patch
| app/views/mailer/account_activated.html.erb | ||
|---|---|---|
|
<p><%= l(:notice_account_activated) %></p>
|
||
|
<p><%= l(:label_login) %>: <%= link_to @login_url, @login_url %></p>
|
||
|
<%= call_hook(:view_mailer_account_activated_bottom) %>
|
||
| app/views/mailer/account_activated.text.erb | ||
|---|---|---|
|
<%= l(:notice_account_activated) %>
|
||
|
<%= l(:label_login) %>: <%= @login_url %>
|
||
|
<%= call_hook(:view_mailer_account_activated_bottom) %>
|
||
| app/views/mailer/account_activation_request.html.erb | ||
|---|---|---|
|
<p><%= l(:mail_body_account_activation_request, h(@user.login)) %></p>
|
||
|
<p><%= link_to @url, @url %></p>
|
||
|
<%= call_hook(:view_mailer_account_activation_request_bottom,
|
||
|
:user => @user) %>
|
||
| app/views/mailer/account_activation_request.text.erb | ||
|---|---|---|
|
<%= l(:mail_body_account_activation_request, @user.login) %>
|
||
|
<%= @url %>
|
||
|
<%= call_hook(:view_mailer_account_activation_request_bottom,
|
||
|
:user => @user) %>
|
||
| app/views/mailer/account_information.html.erb | ||
|---|---|---|
|
<% end %>
|
||
|
<p><%= l(:label_login) %>: <%= link_to @login_url, @login_url %></p>
|
||
|
<%= call_hook(:view_mailer_account_information_bottom,
|
||
|
:user => @user) %>
|
||
| app/views/mailer/account_information.text.erb | ||
|---|---|---|
|
<% if @password %>* <%= l(:field_password) %>: <%= @password %><% end %>
|
||
|
<% end %>
|
||
|
<%= l(:label_login) %>: <%= @login_url %>
|
||
|
<%= call_hook(:view_mailer_account_information_bottom,
|
||
|
:user => @user) %>
|
||
| app/views/mailer/attachments_added.html.erb | ||
|---|---|---|
|
<ul><% @attachments.each do |attachment | %>
|
||
|
<li><%= attachment.filename %></li>
|
||
|
<% end %></ul>
|
||
|
<%= call_hook(:view_mailer_attachments_added_bottom,
|
||
|
:attachments => @attachments) %>
|
||
| app/views/mailer/attachments_added.text.erb | ||
|---|---|---|
|
- <%= attachment.filename %><% end %>
|
||
|
<%= @added_to_url %>
|
||
|
<%= call_hook(:view_mailer_attachments_added_bottom,
|
||
|
:attachments => @attachments) %>
|
||
| app/views/mailer/document_added.html.erb | ||
|---|---|---|
|
<%= link_to(@document.title, @document_url) %> (<%= @document.category.name %>)<br />
|
||
|
<br />
|
||
|
<%= textilizable(@document, :description, :only_path => false) %>
|
||
|
<%= call_hook(:view_mailer_document_added_bottom,
|
||
|
:document => @document) %>
|
||
| app/views/mailer/document_added.text.erb | ||
|---|---|---|
|
<%= @document_url %>
|
||
|
<%= @document.description %>
|
||
|
<%= call_hook(:view_mailer_document_added_bottom,
|
||
|
:document => @document) %>
|
||
| app/views/mailer/issue_add.html.erb | ||
|---|---|---|
|
<%= l(:text_issue_added, :id => link_to("##{@issue.id}", @issue_url), :author => h(@issue.author)).html_safe %>
|
||
|
<hr />
|
||
|
<%= render :partial => 'issue', :formats => [:html], :locals => { :issue => @issue, :users => @users, :issue_url => @issue_url } %>
|
||
|
<%= call_hook(:view_mailer_issue_add_bottom,
|
||
|
:issue => @issue,
|
||
|
:users => @users,
|
||
|
:issue_url => @issue_url) %>
|
||
| app/views/mailer/issue_add.text.erb | ||
|---|---|---|
|
----------------------------------------
|
||
|
<%= render :partial => 'issue', :formats => [:text], :locals => { :issue => @issue, :users => @users, :issue_url => @issue_url } %>
|
||
|
<%= call_hook(:view_mailer_issue_add_bottom,
|
||
|
:issue => @issue,
|
||
|
:users => @users,
|
||
|
:issue_url => @issue_url) %>
|
||
| app/views/mailer/issue_edit.html.erb | ||
|---|---|---|
|
<%= textilizable(@journal, :notes, :only_path => false) %>
|
||
|
<hr />
|
||
|
<%= render :partial => 'issue', :formats => [:html], :locals => { :issue => @issue, :users => @users, :issue_url => @issue_url } %>
|
||
|
<%= call_hook(:view_mailer_issue_edit_bottom,
|
||
|
:issue => @issue,
|
||
|
:users => @users,
|
||
|
:issue_url => @issue_url) %>
|
||
| app/views/mailer/issue_edit.text.erb | ||
|---|---|---|
|
<% end -%>
|
||
|
----------------------------------------
|
||
|
<%= render :partial => 'issue', :formats => [:text], :locals => { :issue => @issue, :users => @users, :issue_url => @issue_url } %>
|
||
|
<%= call_hook(:view_mailer_issue_edit_bottom,
|
||
|
:issue => @issue,
|
||
|
:users => @users,
|
||
|
:issue_url => @issue_url) %>
|
||
| app/views/mailer/lost_password.html.erb | ||
|---|---|---|
|
<%= link_to @url, @url %></p>
|
||
|
<p><%= l(:field_login) %>: <b><%= @token.user.login %></b></p>
|
||
|
<%= call_hook(:view_mailer_lost_password_bottom) %>
|
||
| app/views/mailer/lost_password.text.erb | ||
|---|---|---|
|
<%= @url %>
|
||
|
<%= l(:field_login) %>: <%= @token.user.login %>
|
||
|
<%= call_hook(:view_mailer_lost_password_bottom) %>
|
||
| app/views/mailer/message_posted.html.erb | ||
|---|---|---|
|
<em><%= @message.author %></em>
|
||
|
<%= textilizable(@message, :content, :only_path => false) %>
|
||
|
<%= call_hook(:view_mailer_message_posted_bottom,
|
||
|
:message => @message) %>
|
||
| app/views/mailer/message_posted.text.erb | ||
|---|---|---|
|
<%= @message.author %>
|
||
|
<%= @message.content %>
|
||
|
<%= call_hook(:view_mailer_message_posted_bottom,
|
||
|
:message => @message) %>
|
||
| app/views/mailer/news_added.html.erb | ||
|---|---|---|
|
<em><%= @news.author.name %></em>
|
||
|
<%= textilizable(@news, :description, :only_path => false) %>
|
||
|
<%= call_hook(:view_mailer_news_added_bottom,
|
||
|
:news => @news) %>
|
||
| app/views/mailer/news_added.text.erb | ||
|---|---|---|
|
<%= @news.author.name %>
|
||
|
<%= @news.description %>
|
||
|
<%= call_hook(:view_mailer_news_added_bottom,
|
||
|
:news => @news) %>
|
||
| app/views/mailer/news_comment_added.html.erb | ||
|---|---|---|
|
<p><%= l(:text_user_wrote, :value => h(@comment.author)) %></p>
|
||
|
<%= textilizable @comment, :comments, :only_path => false %>
|
||
|
<%= call_hook(:view_mailer_news_comment_added_bottom,
|
||
|
:news => @news,
|
||
|
:comment => @comment) %>
|
||
| app/views/mailer/news_comment_added.text.erb | ||
|---|---|---|
|
<%= l(:text_user_wrote, :value => @comment.author) %>
|
||
|
<%= @comment.comments %>
|
||
|
<%= call_hook(:view_mailer_news_comment_added_bottom,
|
||
|
:news => @news,
|
||
|
:comment => @comment) %>
|
||
| app/views/mailer/register.html.erb | ||
|---|---|---|
|
<p><%= l(:mail_body_register) %><br />
|
||
|
<%= link_to @url, @url %></p>
|
||
|
<%= call_hook(:view_mailer_register_bottom) %>
|
||
| app/views/mailer/register.text.erb | ||
|---|---|---|
|
<%= l(:mail_body_register) %>
|
||
|
<%= @url %>
|
||
|
<%= call_hook(:view_mailer_register_bottom) %>
|
||
| app/views/mailer/reminder.html.erb | ||
|---|---|---|
|
</ul>
|
||
|
<p><%= link_to l(:label_issue_view_all), @issues_url %></p>
|
||
|
<%= call_hook(:view_mailer_reminder_bottom,
|
||
|
:issues => @issues) %>
|
||
| app/views/mailer/reminder.text.erb | ||
|---|---|---|
|
<% end -%>
|
||
|
<%= @issues_url %>
|
||
|
<%= call_hook(:view_mailer_reminder_bottom,
|
||
|
:issues => @issues) %>
|
||
| app/views/mailer/security_notification.html.erb | ||
|---|---|---|
|
<%= l(:field_remote_ip) %>: <strong><%= User.current.remote_ip %></strong><br/>
|
||
|
<%= l(:label_date) %>: <strong><%= format_time Time.now, true, @user %></strong></p>
|
||
|
<%= call_hook(:view_mailer_security_notification_bottom) %>
|
||
| app/views/mailer/security_notification.text.erb | ||
|---|---|---|
|
<%= l(:field_remote_ip) %>: <%= User.current.remote_ip %>
|
||
|
<%= l(:label_date) %>: <%= format_time Time.now, true, @user %>
|
||
|
<%= call_hook(:view_mailer_security_notification_bottom) %>
|
||
| app/views/mailer/settings_updated.html.erb | ||
|---|---|---|
|
<%= l(:field_remote_ip) %>: <strong><%= User.current.remote_ip %></strong><br/>
|
||
|
<%= l(:label_date) %>: <strong><%= format_time Time.now, true %></strong></p>
|
||
|
<%= call_hook(:view_mailer_settings_updated_bottom,
|
||
|
:changes => @changes) %>
|
||
| app/views/mailer/settings_updated.text.erb | ||
|---|---|---|
|
<%= l(:field_remote_ip) %>: <%= User.current.remote_ip %>
|
||
|
<%= l(:label_date) %>: <%= format_time Time.now, true %>
|
||
|
<%= call_hook(:view_mailer_settings_updated_bottom,
|
||
|
:changes => @changes) %>
|
||
| app/views/mailer/test_email.html.erb | ||
|---|---|---|
|
<p>This is a test email sent by Redmine.<br />
|
||
|
Redmine URL: <%= link_to @url, @url %></p>
|
||
|
<%= call_hook(:view_mailer_test_email_bottom) %>
|
||
| app/views/mailer/test_email.text.erb | ||
|---|---|---|
|
This is a test email sent by Redmine.
|
||
|
Redmine URL: <%= @url %>
|
||
|
<%= call_hook(:view_mailer_test_email_bottom) %>
|
||
| app/views/mailer/wiki_content_added.html.erb | ||
|---|---|---|
|
<p><%= l(:mail_body_wiki_content_added, :id => link_to(@wiki_content.page.pretty_title, @wiki_content_url),
|
||
|
:author => h(@wiki_content.author)).html_safe %><br />
|
||
|
<em><%= @wiki_content.comments %></em></p>
|
||
|
<%= call_hook(:view_mailer_wiki_content_added_bottom,
|
||
|
:wiki_content => @wiki_content) %>
|
||
| app/views/mailer/wiki_content_added.text.erb | ||
|---|---|---|
|
<%= @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 | ||
|---|---|---|
|
<p><%= l(:label_view_diff) %>:<br />
|
||
|
<%= link_to @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 | ||
|---|---|---|
|
<%= @wiki_content_url %>
|
||
|
<%= l(:label_view_diff) %>:
|
||
|
<%= @wiki_diff_url %>
|
||
|
<%= call_hook(:view_mailer_wiki_content_updated_bottom,
|
||
|
:wiki_content => @wiki_content) %>
|
||