Revision 912:5e80956cc792 app/views/mailer

View differences:

app/views/mailer/_issue.html.erb
1
<h1><%= link_to(h("#{issue.tracker.name} ##{issue.id}: #{issue.subject}"), issue_url) %></h1>
2

  
3
<ul>
4
<li><%=l(:field_author)%>: <%=h issue.author %></li>
5
<li><%=l(:field_status)%>: <%=h issue.status %></li>
6
<li><%=l(:field_priority)%>: <%=h issue.priority %></li>
7
<li><%=l(:field_assigned_to)%>: <%=h issue.assigned_to %></li>
8
<li><%=l(:field_category)%>: <%=h issue.category %></li>
9
<li><%=l(:field_fixed_version)%>: <%=h issue.fixed_version %></li>
10
<% issue.custom_field_values.each do |c| %>
11
  <li><%=h c.custom_field.name %>: <%=h show_value(c) %></li>
12
<% end %>
13
</ul>
14

  
15
<%= textilizable(issue, :description, :only_path => false) %>
app/views/mailer/_issue.text.erb
1
<%= "#{issue.tracker.name} ##{issue.id}: #{issue.subject}" %>
2
<%= issue_url %>
3

  
4
<%=l(:field_author)%>: <%= issue.author %>
5
<%=l(:field_status)%>: <%= issue.status %>
6
<%=l(:field_priority)%>: <%= issue.priority %>
7
<%=l(:field_assigned_to)%>: <%= issue.assigned_to %>
8
<%=l(:field_category)%>: <%= issue.category %>
9
<%=l(:field_fixed_version)%>: <%= issue.fixed_version %>
10
<% issue.custom_field_values.each do |c| %><%= c.custom_field.name %>: <%= show_value(c) %>
11
<% end %>
12

  
13
<%= issue.description %>
app/views/mailer/_issue_text_html.rhtml
1
<h1><%= link_to(h("#{issue.tracker.name} ##{issue.id}: #{issue.subject}"), issue_url) %></h1>
2

  
3
<ul>
4
<li><%=l(:field_author)%>: <%=h issue.author %></li>
5
<li><%=l(:field_status)%>: <%=h issue.status %></li>
6
<li><%=l(:field_priority)%>: <%=h issue.priority %></li>
7
<li><%=l(:field_assigned_to)%>: <%=h issue.assigned_to %></li>
8
<li><%=l(:field_category)%>: <%=h issue.category %></li>
9
<li><%=l(:field_fixed_version)%>: <%=h issue.fixed_version %></li>
10
<% issue.custom_field_values.each do |c| %>
11
  <li><%=h c.custom_field.name %>: <%=h show_value(c) %></li>
12
<% end %>
13
</ul>
14

  
15
<%= textilizable(issue, :description, :only_path => false) %>
app/views/mailer/_issue_text_plain.rhtml
1
<%= "#{issue.tracker.name} ##{issue.id}: #{issue.subject}" %>
2
<%= issue_url %>
3

  
4
<%=l(:field_author)%>: <%= issue.author %>
5
<%=l(:field_status)%>: <%= issue.status %>
6
<%=l(:field_priority)%>: <%= issue.priority %>
7
<%=l(:field_assigned_to)%>: <%= issue.assigned_to %>
8
<%=l(:field_category)%>: <%= issue.category %>
9
<%=l(:field_fixed_version)%>: <%= issue.fixed_version %>
10
<% issue.custom_field_values.each do |c| %><%= c.custom_field.name %>: <%= show_value(c) %>
11
<% end %>
12

  
13
<%= issue.description %>
app/views/mailer/account_activated.html.erb
1
<p><%= l(:notice_account_activated) %></p>
2
<p><%= l(:label_login) %>: <%= link_to h(@login_url), @login_url %></p>
app/views/mailer/account_activated.text.erb
1
<%= l(:notice_account_activated) %>
2
<%= l(:label_login) %>: <%= @login_url %>
app/views/mailer/account_activated.text.html.rhtml
1
<p><%= l(:notice_account_activated) %></p>
2
<p><%= l(:label_login) %>: <%= link_to @login_url, @login_url %></p>
app/views/mailer/account_activated.text.plain.rhtml
1
<%= l(:notice_account_activated) %>
2
<%= l(:label_login) %>: <%= @login_url %>
app/views/mailer/account_activation_request.html.erb
1
<p><%= l(:mail_body_account_activation_request, h(@user.login)) %></p>
2
<p><%= link_to h(@url), @url %></p>
app/views/mailer/account_activation_request.text.erb
1
<%= l(:mail_body_account_activation_request, @user.login) %>
2
<%= @url %>
app/views/mailer/account_information.html.erb
1
<% if @user.auth_source %>
2
<p><%= l(:mail_body_account_information_external, h(@user.auth_source.name)) %></p>
3
<% else %>
4
<p><%= l(:mail_body_account_information) %>:</p>
5
<ul>
6
    <li><%= l(:field_login) %>: <%=h @user.login %></li>
7
    <li><%= l(:field_password) %>: <%=h @password %></li>
8
</ul>
9
<% end %>
10

  
11
<p><%= l(:label_login) %>: <%= auto_link(@login_url) %></p>
app/views/mailer/account_information.text.erb
1
<% if @user.auth_source %><%= l(:mail_body_account_information_external, @user.auth_source.name) %>
2
<% else %><%= l(:mail_body_account_information) %>:
3
* <%= l(:field_login) %>: <%= @user.login %>
4
* <%= l(:field_password) %>: <%= @password %>
5
<% end %>
6
<%= l(:label_login) %>: <%= @login_url %>
app/views/mailer/account_information.text.html.rhtml
1
<% if @user.auth_source %>
2
<p><%= l(:mail_body_account_information_external, h(@user.auth_source.name)) %></p>
3
<% else %>
4
<p><%= l(:mail_body_account_information) %>:</p>
5
<ul>
6
    <li><%= l(:field_login) %>: <%=h @user.login %></li>
7
    <li><%= l(:field_password) %>: <%=h @password %></li>
8
</ul>
9
<% end %>
10

  
11
<p><%= l(:label_login) %>: <%= auto_link(@login_url) %></p>
app/views/mailer/account_information.text.plain.rhtml
1
<% if @user.auth_source %><%= l(:mail_body_account_information_external, @user.auth_source.name) %>
2
<% else %><%= l(:mail_body_account_information) %>:
3
* <%= l(:field_login) %>: <%= @user.login %>
4
* <%= l(:field_password) %>: <%= @password %>
5
<% end %>
6
<%= l(:label_login) %>: <%= @login_url %>
app/views/mailer/attachments_added.html.erb
1
<%= link_to h(@added_to), @added_to_url %><br />
2

  
3
<ul><% @attachments.each do |attachment | %>
4
<li><%=h attachment.filename %></li>
5
<% end %></ul>
app/views/mailer/attachments_added.text.erb
1
<%= @added_to %><% @attachments.each do |attachment | %>
2
- <%= attachment.filename %><% end %>
3

  
4
<%= @added_to_url %>
app/views/mailer/attachments_added.text.html.rhtml
1
<%= link_to @added_to, @added_to_url %><br />
2

  
3
<ul><% @attachments.each do |attachment | %>
4
<li><%=h attachment.filename %></li>
5
<% end %></ul>
app/views/mailer/attachments_added.text.plain.rhtml
1
<%= @added_to %><% @attachments.each do |attachment | %>
2
- <%= attachment.filename %><% end %>
3

  
4
<%= @added_to_url %>
app/views/mailer/document_added.html.erb
1
<%= link_to(h(@document.title), @document_url) %> (<%=h @document.category.name %>)<br />
2
<br />
3
<%= textilizable(@document, :description, :only_path => false) %>
app/views/mailer/document_added.text.erb
1
<%= @document.title %> (<%= @document.category.name %>)
2
<%= @document_url %>
3

  
4
<%= @document.description %>
app/views/mailer/document_added.text.html.rhtml
1
<%= link_to(h(@document.title), @document_url) %> (<%=h @document.category.name %>)<br />
2
<br />
3
<%= textilizable(@document, :description, :only_path => false) %>
app/views/mailer/document_added.text.plain.rhtml
1
<%= @document.title %> (<%= @document.category.name %>)
2
<%= @document_url %>
3

  
4
<%= @document.description %>
app/views/mailer/issue_add.html.erb
1
<%= l(:text_issue_added, :id => "##{@issue.id}", :author => h(@issue.author)) %>
2
<hr />
3
<%= render :partial => "issue.html.erb", :locals => { :issue => @issue, :issue_url => @issue_url } %>
app/views/mailer/issue_add.text.erb
1
<%= l(:text_issue_added, :id => "##{@issue.id}", :author => @issue.author) %>
2

  
3
----------------------------------------
4
<%= render :partial => "issue.text.erb", :locals => { :issue => @issue, :issue_url => @issue_url } %>
app/views/mailer/issue_add.text.html.rhtml
1
<%= l(:text_issue_added, :id => "##{@issue.id}", :author => h(@issue.author)) %>
2
<hr />
3
<%= render :partial => "issue_text_html", :locals => { :issue => @issue, :issue_url => @issue_url } %>
app/views/mailer/issue_add.text.plain.rhtml
1
<%= l(:text_issue_added, :id => "##{@issue.id}", :author => @issue.author) %>
2

  
3
----------------------------------------
4
<%= render :partial => "issue_text_plain", :locals => { :issue => @issue, :issue_url => @issue_url } %>
app/views/mailer/issue_edit.html.erb
1
<%= l(:text_issue_updated, :id => "##{@issue.id}", :author => h(@journal.user)) %>
2

  
3
<ul>
4
<% for detail in @journal.details %>
5
    <li><%= show_detail(detail, true) %></li>
6
<% end %>
7
</ul>
8

  
9
<%= textilizable(@journal, :notes, :only_path => false) %>
10
<hr />
11
<%= render :partial => "issue.html.erb", :locals => { :issue => @issue, :issue_url => @issue_url } %>
app/views/mailer/issue_edit.text.erb
1
<%= l(:text_issue_updated, :id => "##{@issue.id}", :author => @journal.user) %>
2

  
3
<% for detail in @journal.details -%>
4
<%= show_detail(detail, true) %>
5
<% end -%>
6

  
7
<%= @journal.notes if @journal.notes? %>
8
----------------------------------------
9
<%= render :partial => "issue.text.erb", :locals => { :issue => @issue, :issue_url => @issue_url } %>
app/views/mailer/issue_edit.text.html.rhtml
1
<%= l(:text_issue_updated, :id => "##{@issue.id}", :author => h(@journal.user)) %>
2

  
3
<ul>
4
<% for detail in @journal.details %>
5
    <li><%= show_detail(detail, true) %></li>
6
<% end %>
7
</ul>
8

  
9
<%= textilizable(@journal, :notes, :only_path => false) %>
10
<hr />
11
<%= render :partial => "issue_text_html", :locals => { :issue => @issue, :issue_url => @issue_url } %>
app/views/mailer/issue_edit.text.plain.rhtml
1
<%= l(:text_issue_updated, :id => "##{@issue.id}", :author => @journal.user) %>
2

  
3
<% for detail in @journal.details -%>
4
<%= show_detail(detail, true) %>
5
<% end -%>
6

  
7
<%= @journal.notes if @journal.notes? %>
8
----------------------------------------
9
<%= render :partial => "issue_text_plain", :locals => { :issue => @issue, :issue_url => @issue_url } %>
app/views/mailer/lost_password.html.erb
1
<p><%= l(:mail_body_lost_password) %><br />
2
<%= auto_link(@url) %></p>
3

  
4
<p><%= l(:field_login) %>: <b><%=h @token.user.login %></b></p>
app/views/mailer/lost_password.text.erb
1
<%= l(:mail_body_lost_password) %>
2
<%= @url %>
3

  
4
<%= l(:field_login) %>: <%= @token.user.login %>
app/views/mailer/lost_password.text.html.rhtml
1
<p><%= l(:mail_body_lost_password) %><br />
2
<%= auto_link(@url) %></p>
3

  
4
<p><%= l(:field_login) %>: <b><%=h @token.user.login %></b></p>
app/views/mailer/lost_password.text.plain.rhtml
1
<%= l(:mail_body_lost_password) %>
2
<%= @url %>
3

  
4
<%= l(:field_login) %>: <%= @token.user.login %>
app/views/mailer/message_posted.html.erb
1
<h1><%=h @message.board.project.name %> - <%=h @message.board.name %>: <%= link_to(h(@message.subject), @message_url) %></h1>
2
<em><%=h @message.author %></em>
3

  
4
<%= textilizable(@message, :content, :only_path => false) %>
app/views/mailer/message_posted.text.erb
1
<%= @message_url %>
2
<%= @message.author %>
3

  
4
<%= @message.content %>
app/views/mailer/message_posted.text.html.rhtml
1
<h1><%=h @message.board.project.name %> - <%=h @message.board.name %>: <%= link_to(h(@message.subject), @message_url) %></h1>
2
<em><%=h @message.author %></em>
3

  
4
<%= textilizable(@message, :content, :only_path => false) %>
app/views/mailer/message_posted.text.plain.rhtml
1
<%= @message_url %>
2
<%= @message.author %>
3

  
4
<%= @message.content %>
app/views/mailer/news_added.html.erb
1
<h1><%= link_to(h(@news.title), @news_url) %></h1>
2
<em><%=h @news.author.name %></em>
3

  
4
<%= textilizable(@news, :description, :only_path => false) %>
app/views/mailer/news_added.text.erb
1
<%= @news.title %>
2
<%= @news_url %>
3
<%= @news.author.name %>
4

  
5
<%= @news.description %>
app/views/mailer/news_added.text.html.rhtml
1
<h1><%= link_to(h(@news.title), @news_url) %></h1>
2
<em><%=h @news.author.name %></em>
3

  
4
<%= textilizable(@news, :description, :only_path => false) %>
app/views/mailer/news_added.text.plain.rhtml
1
<%= @news.title %>
2
<%= @news_url %>
3
<%= @news.author.name %>
4

  
5
<%= @news.description %>
app/views/mailer/news_comment_added.html.erb
1
<h1><%= link_to(h(@news.title), @news_url) %></h1>
2

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

  
5
<%= textilizable @comment, :comments, :only_path => false %>
app/views/mailer/news_comment_added.text.erb
1
<%= @news.title %>
2
<%= @news_url %>
3

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

  
6
<%= @comment.comments %>
app/views/mailer/news_comment_added.text.html.rhtml
1
<h1><%= link_to(h(@news.title), @news_url) %></h1>
2

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

  
5
<%= textilizable @comment, :comments, :only_path => false %>
app/views/mailer/news_comment_added.text.plain.rhtml
1
<%= @news.title %>
2
<%= @news_url %>
3

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

  
6
<%= @comment.comments %>
app/views/mailer/register.html.erb
1
<p><%= l(:mail_body_register) %><br />
2
<%= auto_link(@url) %></p>
app/views/mailer/register.text.erb
1
<%= l(:mail_body_register) %>
2
<%= @url %>
app/views/mailer/register.text.html.rhtml
1
<p><%= l(:mail_body_register) %><br />
2
<%= auto_link(@url) %></p>
app/views/mailer/register.text.plain.rhtml
1
<%= l(:mail_body_register) %>
2
<%= @url %>
app/views/mailer/reminder.html.erb
1
<p><%= l(:mail_body_reminder, :count => @issues.size, :days => @days) %></p>
2

  
3
<ul>
4
<% @issues.each do |issue| -%>
5
  <li><%=h issue.project %> - <%=link_to(h("#{issue.tracker} ##{issue.id}"), :controller => 'issues', :action => 'show', :id => issue, :only_path => false)%>: <%=h issue.subject %></li>
6
<% end -%>
7
</ul>
8

  
9
<p><%= link_to l(:label_issue_view_all), @issues_url %></p>
app/views/mailer/reminder.text.erb
1
<%= l(:mail_body_reminder, :count => @issues.size, :days => @days) %>:
2

  
3
<% @issues.each do |issue| -%>
4
* <%= "#{issue.project} - #{issue.tracker} ##{issue.id}: #{issue.subject}" %>
5
<% end -%>
6

  
7
<%= @issues_url %>
app/views/mailer/reminder.text.html.rhtml
1
<p><%= l(:mail_body_reminder, :count => @issues.size, :days => @days) %></p>
2

  
3
<ul>
4
<% @issues.each do |issue| -%>
5
  <li><%=h issue.project %> - <%=link_to("#{issue.tracker} ##{issue.id}", :controller => 'issues', :action => 'show', :id => issue, :only_path => false)%>: <%=h issue.subject %></li>
6
<% end -%>
7
</ul>
8

  
9
<p><%= link_to l(:label_issue_view_all), @issues_url %></p>
app/views/mailer/reminder.text.plain.rhtml
1
<%= l(:mail_body_reminder, :count => @issues.size, :days => @days) %>:
2

  
3
<% @issues.each do |issue| -%>
4
* <%= "#{issue.project} - #{issue.tracker} ##{issue.id}: #{issue.subject}" %>
5
<% end -%>
6

  
7
<%= @issues_url %>
app/views/mailer/test.html.erb
1
<p>This is a test email sent by Redmine.<br />
2
Redmine URL: <%= auto_link(@url) %></p>
app/views/mailer/test.text.erb
1
This is a test email sent by Redmine.
2
Redmine URL: <%= @url %>
app/views/mailer/test.text.html.rhtml
1
<p>This is a test email sent by Redmine.<br />
2
Redmine URL: <%= auto_link(@url) %></p>
app/views/mailer/test.text.plain.rhtml
1
This is a test email sent by Redmine.
2
Redmine URL: <%= @url %>
app/views/mailer/wiki_content_added.html.erb
1
<p><%= l(:mail_body_wiki_content_added, :id => link_to(h(@wiki_content.page.pretty_title), @wiki_content_url),
2
                                        :author => h(@wiki_content.author)) %><br />
3
<em><%=h @wiki_content.comments %></em></p>
app/views/mailer/wiki_content_added.text.erb
1
<%= l(:mail_body_wiki_content_added, :id => h(@wiki_content.page.pretty_title),
2
                                     :author => h(@wiki_content.author)) %>
3
<%= @wiki_content.comments %>
4

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

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

  
5
<p><%= l(:label_view_diff) %>:<br />
6
<%= link_to h(@wiki_diff_url), @wiki_diff_url %></p>
app/views/mailer/wiki_content_updated.text.erb
1
<%= l(:mail_body_wiki_content_updated, :id => h(@wiki_content.page.pretty_title),
2
                                       :author => h(@wiki_content.author)) %>
3
<%= @wiki_content.comments %>
4

  
5
<%= @wiki_content.page.pretty_title %>:
6
<%= @wiki_content_url %>
7
<%= l(:label_view_diff) %>:
8
<%= @wiki_diff_url %>
app/views/mailer/wiki_content_updated.text.html.rhtml
1
<p><%= l(:mail_body_wiki_content_updated, :id => link_to(h(@wiki_content.page.pretty_title), @wiki_content_url), 
2
  	    														      :author => h(@wiki_content.author)) %><br />
3
<em><%=h @wiki_content.comments %></em></p>
4

  
5
<p><%= l(:label_view_diff) %>:<br />
6
<%= link_to @wiki_diff_url, @wiki_diff_url %></p>
app/views/mailer/wiki_content_updated.text.plain.rhtml
1
<%= l(:mail_body_wiki_content_updated, :id => h(@wiki_content.page.pretty_title), 
2
																			 :author => h(@wiki_content.author)) %>
3
<%= @wiki_content.comments %>
4

  
5
<%= @wiki_content.page.pretty_title %>:
6
<%= @wiki_content_url %>
7
<%= l(:label_view_diff) %>:
8
<%= @wiki_diff_url %>

Also available in: Unified diff