1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-03 14:19:41 +00:00

Adds link to author in revisions list (#23998).

Patch by Andrey Lobanov.

git-svn-id: http://svn.redmine.org/redmine/trunk@15894 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2016-10-09 09:17:36 +00:00
parent 878a91a283
commit 53427eb01c

View File

@ -41,7 +41,7 @@ end %>
<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>
<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>
<td class="committed_on"><%= format_time(changeset.committed_on) %></td>
<td class="author"><%= changeset.author.to_s.truncate(30) %></td>
<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>
<td class="comments"><%= textilizable(truncate_at_line_break(changeset.comments)) %></td>
</tr>
<% line_num += 1 %>