##// END OF EJS Templates
scm: fix revision graph left padding...
Toshi MARUYAMA -
r9438:6c6467879afd
parent child
Show More
@@ -33,7 +33,10 end %>
33 <% line_num = 1 %>
33 <% line_num = 1 %>
34 <% revisions.each do |changeset| %>
34 <% revisions.each do |changeset| %>
35 <tr class="changeset <%= cycle 'odd', 'even' %>">
35 <tr class="changeset <%= cycle 'odd', 'even' %>">
36 <td class="id"<%= show_revision_graph ? " style=\"padding-left:#{(graph_space + 1) * 20}px\"" : '' %>><%= link_to_revision(changeset, @repository) %></td>
36 <% id_style = (show_revision_graph ? "padding-left:#{(graph_space + 1) * 20}px" : nil) %>
37 <%= content_tag(:td, :class => 'id', :style => id_style) do %>
38 <%= link_to_revision(changeset, @repository) %>
39 <% end %>
37 <td class="checkbox"><%= radio_button_tag('rev', changeset.identifier, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < revisions.size) %></td>
40 <td class="checkbox"><%= radio_button_tag('rev', changeset.identifier, (line_num==1), :id => "cb-#{line_num}", :onclick => "$('cbto-#{line_num+1}').checked=true;") if show_diff && (line_num < revisions.size) %></td>
38 <td class="checkbox"><%= radio_button_tag('rev_to', changeset.identifier, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %></td>
41 <td class="checkbox"><%= radio_button_tag('rev_to', changeset.identifier, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %></td>
39 <td class="committed_on"><%= format_time(changeset.committed_on) %></td>
42 <td class="committed_on"><%= format_time(changeset.committed_on) %></td>
General Comments 0
You need to be logged in to leave comments. Login now