diff options
Diffstat (limited to 'app/views/mailer/_issue.html.erb')
-rw-r--r-- | app/views/mailer/_issue.html.erb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/mailer/_issue.html.erb b/app/views/mailer/_issue.html.erb index 3d851d442..829f8d576 100644 --- a/app/views/mailer/_issue.html.erb +++ b/app/views/mailer/_issue.html.erb @@ -13,3 +13,12 @@ </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 %> |