summaryrefslogtreecommitdiffstats
path: root/app/views/documents/show.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/documents/show.rhtml')
-rw-r--r--app/views/documents/show.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/documents/show.rhtml b/app/views/documents/show.rhtml
index 2dc76ead6..85d769097 100644
--- a/app/views/documents/show.rhtml
+++ b/app/views/documents/show.rhtml
@@ -19,7 +19,7 @@
</div>
<%= link_to attachment.filename, :action => 'download', :id => @document, :attachment_id => attachment %>
(<%= number_to_human_size attachment.filesize %>)<br />
- <em><%= attachment.author.name %>, <%= format_date(attachment.created_on) %></em><br />
+ <span class="author"><%= authoring attachment.created_on, attachment.author %></span><br />
<%= lwr(:label_download, attachment.downloads) %>
</li>
<% end %>