##// END OF EJS Templates
show anonymous on activity view when a commit has no author...
Jean-Philippe Lang -
r375:d7f1b873c8e8
parent child
Show More
@@ -42,7 +42,7
42 <% unless e.comment.blank? %><em><%=h e.comment %></em><% end %>
42 <% unless e.comment.blank? %><em><%=h e.comment %></em><% end %>
43 <% elsif e.is_a? Changeset %>
43 <% elsif e.is_a? Changeset %>
44 <%= e.created_on.strftime("%H:%M") %> <%=l(:label_revision)%> <%= link_to h(e.revision), :controller => 'repositories', :action => 'revision', :id => @project, :rev => e.revision %><br />
44 <%= e.created_on.strftime("%H:%M") %> <%=l(:label_revision)%> <%= link_to h(e.revision), :controller => 'repositories', :action => 'revision', :id => @project, :rev => e.revision %><br />
45 <em><%=h e.committer %><%= h(": #{e.comment}") unless e.comment.blank? %></em>
45 <em><%=h e.committer.blank? ? "anonymous" : e.committer %><%= h(": #{e.comment}") unless e.comment.blank? %></em>
46 <% end %>
46 <% end %>
47 </p></li>
47 </p></li>
48
48
General Comments 0
You need to be logged in to leave comments. Login now