Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
14
app/views/mailer/_issue.html.erb
Normal file
14
app/views/mailer/_issue.html.erb
Normal file
|
@ -0,0 +1,14 @@
|
|||
<h1><%= link_to("#{issue.tracker.name} ##{issue.id}: #{issue.subject}", issue_url) %></h1>
|
||||
|
||||
<%= render_email_issue_attributes(issue, users.first, true) %>
|
||||
|
||||
<%= textilizable(issue, :description, :only_path => false) %>
|
||||
|
||||
<% if issue.attachments.any? %>
|
||||
<fieldset class="attachments"><legend><%= l(:label_attachment_plural) %></legend>
|
||||
<% issue.attachments.each do |attachment| %>
|
||||
<%= link_to_attachment attachment, :download => true, :only_path => false %>
|
||||
(<%= number_to_human_size(attachment.filesize) %>)<br />
|
||||
<% end %>
|
||||
</fieldset>
|
||||
<% end %>
|
13
app/views/mailer/_issue.text.erb
Normal file
13
app/views/mailer/_issue.text.erb
Normal file
|
@ -0,0 +1,13 @@
|
|||
<%= "#{issue.tracker.name} ##{issue.id}: #{issue.subject}" %>
|
||||
<%= issue_url %>
|
||||
|
||||
<%= render_email_issue_attributes(issue, users.first) %>
|
||||
----------------------------------------
|
||||
<%= issue.description %>
|
||||
|
||||
<% if issue.attachments.any? -%>
|
||||
---<%= l(:label_attachment_plural).ljust(37, '-') %>
|
||||
<% issue.attachments.each do |attachment| -%>
|
||||
<%= attachment.filename %> (<%= number_to_human_size(attachment.filesize) %>)
|
||||
<% end -%>
|
||||
<% end -%>
|
2
app/views/mailer/account_activated.html.erb
Normal file
2
app/views/mailer/account_activated.html.erb
Normal file
|
@ -0,0 +1,2 @@
|
|||
<p><%= l(:notice_account_activated) %></p>
|
||||
<p><%= l(:label_login) %>: <%= link_to @login_url, @login_url %></p>
|
2
app/views/mailer/account_activated.text.erb
Normal file
2
app/views/mailer/account_activated.text.erb
Normal file
|
@ -0,0 +1,2 @@
|
|||
<%= l(:notice_account_activated) %>
|
||||
<%= l(:label_login) %>: <%= @login_url %>
|
2
app/views/mailer/account_activation_request.html.erb
Normal file
2
app/views/mailer/account_activation_request.html.erb
Normal file
|
@ -0,0 +1,2 @@
|
|||
<p><%= l(:mail_body_account_activation_request, h(@user.login)) %></p>
|
||||
<p><%= link_to @url, @url %></p>
|
2
app/views/mailer/account_activation_request.text.erb
Normal file
2
app/views/mailer/account_activation_request.text.erb
Normal file
|
@ -0,0 +1,2 @@
|
|||
<%= l(:mail_body_account_activation_request, @user.login) %>
|
||||
<%= @url %>
|
13
app/views/mailer/account_information.html.erb
Normal file
13
app/views/mailer/account_information.html.erb
Normal file
|
@ -0,0 +1,13 @@
|
|||
<% if @user.auth_source %>
|
||||
<p><%= l(:mail_body_account_information_external, h(@user.auth_source.name)) %></p>
|
||||
<% else %>
|
||||
<p><%= l(:mail_body_account_information) %>:</p>
|
||||
<ul>
|
||||
<li><%= l(:field_login) %>: <%= @user.login %></li>
|
||||
<% if @password %>
|
||||
<li><%= l(:field_password) %>: <%= @password %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
||||
<p><%= l(:label_login) %>: <%= link_to @login_url, @login_url %></p>
|
6
app/views/mailer/account_information.text.erb
Normal file
6
app/views/mailer/account_information.text.erb
Normal file
|
@ -0,0 +1,6 @@
|
|||
<% if @user.auth_source %><%= l(:mail_body_account_information_external, @user.auth_source.name) %>
|
||||
<% else %><%= l(:mail_body_account_information) %>:
|
||||
* <%= l(:field_login) %>: <%= @user.login %>
|
||||
<% if @password %>* <%= l(:field_password) %>: <%= @password %><% end %>
|
||||
<% end %>
|
||||
<%= l(:label_login) %>: <%= @login_url %>
|
5
app/views/mailer/attachments_added.html.erb
Normal file
5
app/views/mailer/attachments_added.html.erb
Normal file
|
@ -0,0 +1,5 @@
|
|||
<%= link_to @added_to, @added_to_url %><br />
|
||||
|
||||
<ul><% @attachments.each do |attachment | %>
|
||||
<li><%= attachment.filename %></li>
|
||||
<% end %></ul>
|
4
app/views/mailer/attachments_added.text.erb
Normal file
4
app/views/mailer/attachments_added.text.erb
Normal file
|
@ -0,0 +1,4 @@
|
|||
<%= @added_to %><% @attachments.each do |attachment | %>
|
||||
- <%= attachment.filename %><% end %>
|
||||
|
||||
<%= @added_to_url %>
|
3
app/views/mailer/document_added.html.erb
Normal file
3
app/views/mailer/document_added.html.erb
Normal file
|
@ -0,0 +1,3 @@
|
|||
<%= link_to(@document.title, @document_url) %> (<%= @document.category.name %>)<br />
|
||||
<br />
|
||||
<%= textilizable(@document, :description, :only_path => false) %>
|
4
app/views/mailer/document_added.text.erb
Normal file
4
app/views/mailer/document_added.text.erb
Normal file
|
@ -0,0 +1,4 @@
|
|||
<%= @document.title %> (<%= @document.category.name %>)
|
||||
<%= @document_url %>
|
||||
|
||||
<%= @document.description %>
|
3
app/views/mailer/issue_add.html.erb
Normal file
3
app/views/mailer/issue_add.html.erb
Normal file
|
@ -0,0 +1,3 @@
|
|||
<%= 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 } %>
|
4
app/views/mailer/issue_add.text.erb
Normal file
4
app/views/mailer/issue_add.text.erb
Normal file
|
@ -0,0 +1,4 @@
|
|||
<%= l(:text_issue_added, :id => "##{@issue.id}", :author => @issue.author) %>
|
||||
|
||||
----------------------------------------
|
||||
<%= render :partial => 'issue', :formats => [:text], :locals => { :issue => @issue, :users => @users, :issue_url => @issue_url } %>
|
15
app/views/mailer/issue_edit.html.erb
Normal file
15
app/views/mailer/issue_edit.html.erb
Normal file
|
@ -0,0 +1,15 @@
|
|||
<% if @journal.private_notes? %>
|
||||
(<%= l(:field_private_notes) %>)
|
||||
<% end %>
|
||||
<%= l(:text_issue_updated, :id => link_to("##{@issue.id}", @issue_url), :author => h(@journal.user)).html_safe %>
|
||||
<hr />
|
||||
|
||||
<ul class="journal details">
|
||||
<% details_to_strings(@journal_details, false, :only_path => false).each do |string| %>
|
||||
<li><%= string %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
<%= textilizable(@journal, :notes, :only_path => false) %>
|
||||
<hr />
|
||||
<%= render :partial => 'issue', :formats => [:html], :locals => { :issue => @issue, :users => @users, :issue_url => @issue_url } %>
|
12
app/views/mailer/issue_edit.text.erb
Normal file
12
app/views/mailer/issue_edit.text.erb
Normal file
|
@ -0,0 +1,12 @@
|
|||
<%= "(#{l(:field_private_notes)}) " if @journal.private_notes? -%><%= l(:text_issue_updated, :id => "##{@issue.id}", :author => @journal.user) %>
|
||||
|
||||
<% details_to_strings(@journal_details, true).each do |string| -%>
|
||||
<%= string %>
|
||||
<% end -%>
|
||||
|
||||
<% if @journal.notes? -%>
|
||||
<%= @journal.notes %>
|
||||
|
||||
<% end -%>
|
||||
----------------------------------------
|
||||
<%= render :partial => 'issue', :formats => [:text], :locals => { :issue => @issue, :users => @users, :issue_url => @issue_url } %>
|
4
app/views/mailer/lost_password.html.erb
Normal file
4
app/views/mailer/lost_password.html.erb
Normal file
|
@ -0,0 +1,4 @@
|
|||
<p><%= l(:mail_body_lost_password) %><br />
|
||||
<%= link_to @url, @url %></p>
|
||||
|
||||
<p><%= l(:field_login) %>: <b><%= @token.user.login %></b></p>
|
4
app/views/mailer/lost_password.text.erb
Normal file
4
app/views/mailer/lost_password.text.erb
Normal file
|
@ -0,0 +1,4 @@
|
|||
<%= l(:mail_body_lost_password) %>
|
||||
<%= @url %>
|
||||
|
||||
<%= l(:field_login) %>: <%= @token.user.login %>
|
4
app/views/mailer/message_posted.html.erb
Normal file
4
app/views/mailer/message_posted.html.erb
Normal file
|
@ -0,0 +1,4 @@
|
|||
<h1><%= @message.board.project.name %> - <%= @message.board.name %>: <%= link_to(@message.subject, @message_url) %></h1>
|
||||
<em><%= @message.author %></em>
|
||||
|
||||
<%= textilizable(@message, :content, :only_path => false) %>
|
4
app/views/mailer/message_posted.text.erb
Normal file
4
app/views/mailer/message_posted.text.erb
Normal file
|
@ -0,0 +1,4 @@
|
|||
<%= @message_url %>
|
||||
<%= @message.author %>
|
||||
|
||||
<%= @message.content %>
|
4
app/views/mailer/news_added.html.erb
Normal file
4
app/views/mailer/news_added.html.erb
Normal file
|
@ -0,0 +1,4 @@
|
|||
<h1><%= link_to(@news.title, @news_url) %></h1>
|
||||
<em><%= @news.author.name %></em>
|
||||
|
||||
<%= textilizable(@news, :description, :only_path => false) %>
|
5
app/views/mailer/news_added.text.erb
Normal file
5
app/views/mailer/news_added.text.erb
Normal file
|
@ -0,0 +1,5 @@
|
|||
<%= @news.title %>
|
||||
<%= @news_url %>
|
||||
<%= @news.author.name %>
|
||||
|
||||
<%= @news.description %>
|
5
app/views/mailer/news_comment_added.html.erb
Normal file
5
app/views/mailer/news_comment_added.html.erb
Normal file
|
@ -0,0 +1,5 @@
|
|||
<h1><%= link_to(@news.title, @news_url) %></h1>
|
||||
|
||||
<p><%= l(:text_user_wrote, :value => h(@comment.author)) %></p>
|
||||
|
||||
<%= textilizable @comment, :comments, :only_path => false %>
|
6
app/views/mailer/news_comment_added.text.erb
Normal file
6
app/views/mailer/news_comment_added.text.erb
Normal file
|
@ -0,0 +1,6 @@
|
|||
<%= @news.title %>
|
||||
<%= @news_url %>
|
||||
|
||||
<%= l(:text_user_wrote, :value => @comment.author) %>
|
||||
|
||||
<%= @comment.comments %>
|
2
app/views/mailer/register.html.erb
Normal file
2
app/views/mailer/register.html.erb
Normal file
|
@ -0,0 +1,2 @@
|
|||
<p><%= l(:mail_body_register) %><br />
|
||||
<%= link_to @url, @url %></p>
|
2
app/views/mailer/register.text.erb
Normal file
2
app/views/mailer/register.text.erb
Normal file
|
@ -0,0 +1,2 @@
|
|||
<%= l(:mail_body_register) %>
|
||||
<%= @url %>
|
9
app/views/mailer/reminder.html.erb
Normal file
9
app/views/mailer/reminder.html.erb
Normal file
|
@ -0,0 +1,9 @@
|
|||
<p><%= l(:mail_body_reminder, :count => @issues.size, :days => @days) %></p>
|
||||
|
||||
<ul>
|
||||
<% @issues.each do |issue| -%>
|
||||
<li><%= link_to_issue(issue, :project => true, :only_path => false) %></li>
|
||||
<% end -%>
|
||||
</ul>
|
||||
|
||||
<p><%= link_to l(:label_issue_view_all), @issues_url %></p>
|
7
app/views/mailer/reminder.text.erb
Normal file
7
app/views/mailer/reminder.text.erb
Normal file
|
@ -0,0 +1,7 @@
|
|||
<%= l(:mail_body_reminder, :count => @issues.size, :days => @days) %>:
|
||||
|
||||
<% @issues.each do |issue| -%>
|
||||
* <%= "#{issue.project} - #{issue.tracker} ##{issue.id}: #{issue.subject}" %>
|
||||
<% end -%>
|
||||
|
||||
<%= @issues_url %>
|
13
app/views/mailer/security_notification.html.erb
Normal file
13
app/views/mailer/security_notification.html.erb
Normal file
|
@ -0,0 +1,13 @@
|
|||
<p><%= @message %><br />
|
||||
<% if @url && @title -%>
|
||||
<%= link_to @title, @url -%>
|
||||
<% elsif @url -%>
|
||||
<%= link_to @url -%>
|
||||
<% elsif @title -%>
|
||||
<%= content_tag :h1, @title -%>
|
||||
<% end %></p>
|
||||
|
||||
<p><%= l(:field_user) %>: <strong><%= User.current.login %></strong><br/>
|
||||
<%= l(:field_remote_ip) %>: <strong><%= User.current.remote_ip %></strong><br/>
|
||||
<%= l(:label_date) %>: <strong><%= format_time Time.now, true, @user %></strong></p>
|
||||
|
8
app/views/mailer/security_notification.text.erb
Normal file
8
app/views/mailer/security_notification.text.erb
Normal file
|
@ -0,0 +1,8 @@
|
|||
<%= @message %>
|
||||
|
||||
<%= @url || @title %>
|
||||
|
||||
<%= l(:field_user) %>: <%= User.current.login %>
|
||||
<%= l(:field_remote_ip) %>: <%= User.current.remote_ip %>
|
||||
<%= l(:label_date) %>: <%= format_time Time.now, true, @user %>
|
||||
|
14
app/views/mailer/settings_updated.html.erb
Normal file
14
app/views/mailer/settings_updated.html.erb
Normal file
|
@ -0,0 +1,14 @@
|
|||
<p><%= l(:mail_body_settings_updated) %></p>
|
||||
|
||||
<ul>
|
||||
<% @changes.each do |name| %>
|
||||
<li><%= l("setting_#{name}") %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
<%= link_to @url, @url %>
|
||||
|
||||
<p><%= l(:field_user) %>: <strong><%= User.current.login %></strong><br/>
|
||||
<%= l(:field_remote_ip) %>: <strong><%= User.current.remote_ip %></strong><br/>
|
||||
<%= l(:label_date) %>: <strong><%= format_time Time.now, true %></strong></p>
|
||||
|
12
app/views/mailer/settings_updated.text.erb
Normal file
12
app/views/mailer/settings_updated.text.erb
Normal file
|
@ -0,0 +1,12 @@
|
|||
<%= l(:mail_body_settings_updated) %>
|
||||
|
||||
<% @changes.each do |name| %>
|
||||
* <%= l("setting_#{name}") %>
|
||||
<% end %>
|
||||
|
||||
<%= @url %>
|
||||
|
||||
<%= l(:field_user) %>: <%= User.current.login %>
|
||||
<%= l(:field_remote_ip) %>: <%= User.current.remote_ip %>
|
||||
<%= l(:label_date) %>: <%= format_time Time.now, true %>
|
||||
|
2
app/views/mailer/test_email.html.erb
Normal file
2
app/views/mailer/test_email.html.erb
Normal file
|
@ -0,0 +1,2 @@
|
|||
<p>This is a test email sent by Redmine.<br />
|
||||
Redmine URL: <%= link_to @url, @url %></p>
|
2
app/views/mailer/test_email.text.erb
Normal file
2
app/views/mailer/test_email.text.erb
Normal file
|
@ -0,0 +1,2 @@
|
|||
This is a test email sent by Redmine.
|
||||
Redmine URL: <%= @url %>
|
3
app/views/mailer/wiki_content_added.html.erb
Normal file
3
app/views/mailer/wiki_content_added.html.erb
Normal file
|
@ -0,0 +1,3 @@
|
|||
<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>
|
5
app/views/mailer/wiki_content_added.text.erb
Normal file
5
app/views/mailer/wiki_content_added.text.erb
Normal file
|
@ -0,0 +1,5 @@
|
|||
<%= l(:mail_body_wiki_content_added, :id => h(@wiki_content.page.pretty_title),
|
||||
:author => h(@wiki_content.author)) %>
|
||||
<%= @wiki_content.comments %>
|
||||
|
||||
<%= @wiki_content_url %>
|
6
app/views/mailer/wiki_content_updated.html.erb
Normal file
6
app/views/mailer/wiki_content_updated.html.erb
Normal file
|
@ -0,0 +1,6 @@
|
|||
<p><%= l(:mail_body_wiki_content_updated, :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>
|
||||
|
||||
<p><%= l(:label_view_diff) %>:<br />
|
||||
<%= link_to @wiki_diff_url, @wiki_diff_url %></p>
|
8
app/views/mailer/wiki_content_updated.text.erb
Normal file
8
app/views/mailer/wiki_content_updated.text.erb
Normal file
|
@ -0,0 +1,8 @@
|
|||
<%= l(:mail_body_wiki_content_updated, :id => h(@wiki_content.page.pretty_title),
|
||||
:author => h(@wiki_content.author)) %>
|
||||
<%= @wiki_content.comments %>
|
||||
|
||||
<%= @wiki_content.page.pretty_title %>:
|
||||
<%= @wiki_content_url %>
|
||||
<%= l(:label_view_diff) %>:
|
||||
<%= @wiki_diff_url %>
|
Loading…
Add table
Add a link
Reference in a new issue