diff --git a/app/views/attachments/_links.html.erb b/app/views/attachments/_links.html.erb index 25d022029..cabfc7766 100644 --- a/app/views/attachments/_links.html.erb +++ b/app/views/attachments/_links.html.erb @@ -12,6 +12,18 @@ ) if attachments.size > 1 %>
<%= l(:field_name) %> | +<%= l(:field_description) %> | +<% if options[:author] %> +<%= l(:field_author) %> | +<%= l(:field_created_on) %> | +<% end %> ++ | |
---|---|---|---|---|---|
@@ -20,11 +32,10 @@ <%= link_to_attachment attachment, class: 'icon-only icon-download', title: l(:button_download), download: true -%> | <%= attachment.description unless attachment.description.blank? %> | -- <% if options[:author] %> - | + <% if options[:author] %> + - <% end %> -+ | + <% end %> | <% if options[:deletable] %> <%= link_to l(:button_delete), attachment_path(attachment), @@ -36,6 +47,7 @@ |