1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-07 16:11:30 +00:00
redmine/app/views/mailer/news_added.text.erb
Go MAEDA 6095186e97 Include attachments in news post notifications (#33002).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-24 03:19:00 +00:00

12 lines
319 B
Plaintext

<%= @news.title %>
<%= @news_url %>
<%= @news.author.name %>
<%= @news.description %>
<% if @news.attachments.any? -%>
---<%= l(:label_attachment_plural).ljust(37, '-') %>
<% @news.attachments.each do |attachment| -%>
<%= attachment.filename %> (<%= number_to_human_size(attachment.filesize) %>)
<% end -%>
<% end -%>