summaryrefslogtreecommitdiffstats
path: root/app/views/mailer/news_added.text.erb
blob: 65e6a404f95771b386bf390623a7eabda24b757a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<%= @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 -%>