Index: app/views/repositories/_revisions.html.erb
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- app/views/repositories/_revisions.html.erb (revision 9702b130ae5927f37ffcdd14aa893942ae7f72ba)
+++ app/views/repositories/_revisions.html.erb (revision 249060be57307ab0ffe911245e93556ba46f8ee0)
@@ -41,7 +41,7 @@
<%= radio_button_tag('rev', changeset.identifier, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('#cbto-#{line_num+1}').prop('checked',true);") if show_diff && (line_num < revisions.size) %> |
<%= radio_button_tag('rev_to', changeset.identifier, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('#cb-#{line_num}').prop('checked')) {$('#cb-#{line_num-1}').prop('checked',true);}") if show_diff && (line_num > 1) %> |
<%= format_time(changeset.committed_on) %> |
-<%= changeset.author.to_s.truncate(30) %> |
+<%= changeset.user.blank? ? changeset.author.to_s.truncate(30) : (link_to changeset.author.to_s.truncate(30), user_path(changeset.user)) %> |
<% line_num += 1 %>