summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-25 12:24:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-25 12:24:07 +0000
commitd7f1b873c8e8daec010ef729adf9a91070cdc0eb (patch)
tree9484f322700aefae41681ccd684265d85663efdc /app
parent16f9f50f50dbac49b1f791c7c2892420a354bc43 (diff)
downloadredmine-d7f1b873c8e8daec010ef729adf9a91070cdc0eb.tar.gz
redmine-d7f1b873c8e8daec010ef729adf9a91070cdc0eb.zip
show anonymous on activity view when a commit has no author
git-svn-id: http://redmine.rubyforge.org/svn/trunk@378 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/activity.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/activity.rhtml b/app/views/projects/activity.rhtml
index 69bfa6028..315ed980d 100644
--- a/app/views/projects/activity.rhtml
+++ b/app/views/projects/activity.rhtml
@@ -42,7 +42,7 @@
<% unless e.comment.blank? %><em><%=h e.comment %></em><% end %>
<% elsif e.is_a? Changeset %>
<%= e.created_on.strftime("%H:%M") %> <%=l(:label_revision)%> <%= link_to h(e.revision), :controller => 'repositories', :action => 'revision', :id => @project, :rev => e.revision %><br />
- <em><%=h e.committer %><%= h(": #{e.comment}") unless e.comment.blank? %></em>
+ <em><%=h e.committer.blank? ? "anonymous" : e.committer %><%= h(": #{e.comment}") unless e.comment.blank? %></em>
<% end %>
</p></li>