##// END OF EJS Templates
Use #link_to_user (#23998)....
Jean-Philippe Lang -
r15513:5e447c7555c8
parent child
Show More
@@ -41,7 +41,7 end %>
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>
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 <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>
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 <td class="committed_on"><%= format_time(changeset.committed_on) %></td>
43 <td class="committed_on"><%= format_time(changeset.committed_on) %></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>
44 <td class="author"><%= changeset.user.blank? ? changeset.author.to_s.truncate(30) : link_to_user(changeset.user) %></td>
45 <td class="comments"><%= textilizable(truncate_at_line_break(changeset.comments)) %></td>
45 <td class="comments"><%= textilizable(truncate_at_line_break(changeset.comments)) %></td>
46 </tr>
46 </tr>
47 <% line_num += 1 %>
47 <% line_num += 1 %>
General Comments 0
You need to be logged in to leave comments. Login now