Redmine/app/views/mailer/_issue.html.erb

25 lines
977 B
Plaintext

<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) %>
<% 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 %>