Patch #23998 » 3.Added_link_to_author_that_performed_commit.patch
app/views/repositories/_revisions.html.erb (revision 249060be57307ab0ffe911245e93556ba46f8ee0) | ||
---|---|---|
41 | 41 |
<td class="checkbox"><%= 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) %></td> |
42 | 42 |
<td class="checkbox"><%= 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) %></td> |
43 | 43 |
<td class="committed_on"><%= format_time(changeset.committed_on) %></td> |
44 |
<td class="author"><%= changeset.author.to_s.truncate(30) %></td>
|
|
44 |
<td class="author"><%= changeset.user.blank? ? changeset.author.to_s.truncate(30) : (link_to changeset.author.to_s.truncate(30), user_path(changeset.user)) %></td>
|
|
45 | 45 |
<td class="comments"><%= textilizable(truncate_at_line_break(changeset.comments)) %></td> |
46 | 46 |
</tr> |
47 | 47 |
<% line_num += 1 %> |