Feature #44460 » 0001-Display-the-attachment-description-on-its-own-line-o.patch
| app/views/layouts/_file.html.erb | ||
|---|---|---|
| 7 | 7 |
</h2> |
| 8 | 8 | |
| 9 | 9 |
<div class="attachments"> |
| 10 |
<p><%= "#{@attachment.description} - " unless @attachment.description.blank? %>
|
|
| 10 |
<p><% if @attachment.description.present? %><%= @attachment.description %><br /><% end %>
|
|
| 11 | 11 |
<span class="author"><%= link_to_user(@attachment.author) %>, <%= format_time(@attachment.created_on) %></span></p> |
| 12 | 12 |
</div> |
| 13 | 13 |
<div class="filecontent-container"> |