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
This commit is contained in:
parent
16f9f50f50
commit
d7f1b873c8
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue