1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-25 01:41:14 +00:00
redmine/app/views/mailer/message_posted.html.erb
Go MAEDA dec5f98112 Include attachments in forum post notifications (#16006).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-11 02:34:25 +00:00

13 lines
553 B
Plaintext

<h1><%= @message.board.project.name %> - <%= @message.board.name %>: <%= link_to(@message.subject, @message_url) %></h1>
<em><%= @message.author %></em>
<%= textilizable(@message, :content, :only_path => false) %>
<% if @message.attachments.any? -%>
<fieldset class="attachments"><legend><%= l(:label_attachment_plural) %></legend>
<% @message.attachments.each do |attachment| -%>
<%= link_to_attachment attachment, :download => true, :only_path => false %> (<%= number_to_human_size(attachment.filesize) %>)<br />
<% end -%>
</fieldset>
<% end -%>