summaryrefslogtreecommitdiffstats
path: root/app/views/mailer/_issue.html.erb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-03 15:17:58 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-03 15:17:58 +0000
commitac6aaf3f67a440ba2ffa44b4749ac66aab4311f0 (patch)
treebce68b34bdc4a184cc1a9aa749afe1d741cae88e /app/views/mailer/_issue.html.erb
parentee5f712e8990e1bd5a19d74994b3c632377822c7 (diff)
downloadredmine-ac6aaf3f67a440ba2ffa44b4749ac66aab4311f0.tar.gz
redmine-ac6aaf3f67a440ba2ffa44b4749ac66aab4311f0.zip
Rails3: mail: rename app/views/mailer/_issue_text_html.rhtml to app/views/mailer/_issue.html.erb (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7567 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/mailer/_issue.html.erb')
-rw-r--r--app/views/mailer/_issue.html.erb15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/mailer/_issue.html.erb b/app/views/mailer/_issue.html.erb
new file mode 100644
index 000000000..3d851d442
--- /dev/null
+++ b/app/views/mailer/_issue.html.erb
@@ -0,0 +1,15 @@
+<h1><%= link_to(h("#{issue.tracker.name} ##{issue.id}: #{issue.subject}"), issue_url) %></h1>
+
+<ul>
+<li><%=l(:field_author)%>: <%=h issue.author %></li>
+<li><%=l(:field_status)%>: <%=h issue.status %></li>
+<li><%=l(:field_priority)%>: <%=h issue.priority %></li>
+<li><%=l(:field_assigned_to)%>: <%=h issue.assigned_to %></li>
+<li><%=l(:field_category)%>: <%=h issue.category %></li>
+<li><%=l(:field_fixed_version)%>: <%=h issue.fixed_version %></li>
+<% issue.custom_field_values.each do |c| %>
+ <li><%=h c.custom_field.name %>: <%=h show_value(c) %></li>
+<% end %>
+</ul>
+
+<%= textilizable(issue, :description, :only_path => false) %>