Add links to attachments in new issue email notification (#12293).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11853 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
8bbc6d251e
commit
d678959359
4 files changed
+37
-1
No files matched your search
@@ -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 %>
|
||||
Reference in new issue
Block a user