summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-08 19:25:26 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-04-08 19:25:26 +0000
commite436285b6f4aba7fe02a9d61b61afa0dccf686d7 (patch)
treea710ad253a3eee0bebf3310001eccecf4a71b74e /app
parent1334cbf78c1dbb35eaaf7d86fa1e4d06319550fe (diff)
downloadredmine-e436285b6f4aba7fe02a9d61b61afa0dccf686d7.tar.gz
redmine-e436285b6f4aba7fe02a9d61b61afa0dccf686d7.zip
Slight changes to the plain text issue notification.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9369 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/mailer/_issue.text.erb18
-rw-r--r--app/views/mailer/issue_edit.text.erb5
2 files changed, 13 insertions, 10 deletions
diff --git a/app/views/mailer/_issue.text.erb b/app/views/mailer/_issue.text.erb
index bea2a5813..427b6a890 100644
--- a/app/views/mailer/_issue.text.erb
+++ b/app/views/mailer/_issue.text.erb
@@ -1,13 +1,13 @@
<%= "#{issue.tracker.name} ##{issue.id}: #{issue.subject}" %>
<%= issue_url %>
-<%=l(:field_author)%>: <%= issue.author %>
-<%=l(:field_status)%>: <%= issue.status %>
-<%=l(:field_priority)%>: <%= issue.priority %>
-<%=l(:field_assigned_to)%>: <%= issue.assigned_to %>
-<%=l(:field_category)%>: <%= issue.category %>
-<%=l(:field_fixed_version)%>: <%= issue.fixed_version %>
-<% issue.custom_field_values.each do |c| %><%= c.custom_field.name %>: <%= show_value(c) %>
-<% end %>
-
+* <%=l(:field_author)%>: <%= issue.author %>
+* <%=l(:field_status)%>: <%= issue.status %>
+* <%=l(:field_priority)%>: <%= issue.priority %>
+* <%=l(:field_assigned_to)%>: <%= issue.assigned_to %>
+* <%=l(:field_category)%>: <%= issue.category %>
+* <%=l(:field_fixed_version)%>: <%= issue.fixed_version %>
+<% issue.custom_field_values.each do |c| %>* <%= c.custom_field.name %>: <%= show_value(c) %>
+<% end -%>
+----------------------------------------
<%= issue.description %>
diff --git a/app/views/mailer/issue_edit.text.erb b/app/views/mailer/issue_edit.text.erb
index 1f7e7dc32..0f7ee51f5 100644
--- a/app/views/mailer/issue_edit.text.erb
+++ b/app/views/mailer/issue_edit.text.erb
@@ -4,6 +4,9 @@
<%= string %>
<% end -%>
-<%= @journal.notes if @journal.notes? %>
+<% if @journal.notes? -%>
+<%= @journal.notes %>
+
+<% end -%>
----------------------------------------
<%= render :partial => "issue.text.erb", :locals => { :issue => @issue, :issue_url => @issue_url } %>