summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-05-18 17:24:23 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-05-18 17:24:23 +0000
commit1093454193bd469d2e344b0a216431cdef27e372 (patch)
treefebaceb61962744bb6042c6b829958b38782d352 /app/views
parentde394f5f74e0dbf03c54c006ce4e830921515f99 (diff)
downloadredmine-1093454193bd469d2e344b0a216431cdef27e372.tar.gz
redmine-1093454193bd469d2e344b0a216431cdef27e372.zip
Adds markings to emails generated by private comments (#12888).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11869 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/mailer/issue_edit.html.erb3
-rw-r--r--app/views/mailer/issue_edit.text.erb2
2 files changed, 4 insertions, 1 deletions
diff --git a/app/views/mailer/issue_edit.html.erb b/app/views/mailer/issue_edit.html.erb
index 720cfea69..322251912 100644
--- a/app/views/mailer/issue_edit.html.erb
+++ b/app/views/mailer/issue_edit.html.erb
@@ -1,3 +1,6 @@
+<% if @journal.private_notes? %>
+ (<%= l(:field_private_notes) %>)
+<% end %>
<%= l(:text_issue_updated, :id => "##{@issue.id}", :author => h(@journal.user)) %>
<ul>
diff --git a/app/views/mailer/issue_edit.text.erb b/app/views/mailer/issue_edit.text.erb
index e0f10811b..395f8f626 100644
--- a/app/views/mailer/issue_edit.text.erb
+++ b/app/views/mailer/issue_edit.text.erb
@@ -1,4 +1,4 @@
-<%= l(:text_issue_updated, :id => "##{@issue.id}", :author => @journal.user) %>
+<%= "(#{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 %>