summaryrefslogtreecommitdiffstats
path: root/app/views/documents
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-15 15:20:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-15 15:20:08 +0000
commit3c6ddc9cecc250b3853025ca8b10a964bed0ff97 (patch)
treef51d5f099c21f9c13a5bcd1a77b2d4978c7cfa47 /app/views/documents
parent89b349818bfaee2669aab99df9e11de84c0f145c (diff)
downloadredmine-3c6ddc9cecc250b3853025ca8b10a964bed0ff97.tar.gz
redmine-3c6ddc9cecc250b3853025ca8b10a964bed0ff97.zip
Changed author display on issues, news and document files.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@732 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/documents')
-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 %>