mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-03 14:19:41 +00:00
Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19528 e93f8b46-1217-0410-a6f0-8f06a7374b81
12 lines
476 B
Plaintext
12 lines
476 B
Plaintext
<h1><%= link_to(@news.title, @news_url) %></h1>
|
|
<em><%= @news.author.name %></em>
|
|
|
|
<%= textilizable(@news, :description, :only_path => false) %>
|
|
|
|
<% if @news.attachments.any? -%>
|
|
<fieldset class="attachments"><legend><%= l(:label_attachment_plural) %></legend>
|
|
<% @news.attachments.each do |attachment| -%>
|
|
<%= link_to_attachment attachment, :download => true, :only_path => false %> (<%= number_to_human_size(attachment.filesize) %>)<br />
|
|
<% end -%>
|
|
</fieldset>
|
|
<% end -%> |