@@ -1,8 +1,9 | |||
|
1 | <% show_revision_graph = ( @repository.supports_revision_graph? && path.blank? ) %> | |
|
1 | 2 | <% form_tag({:controller => 'repositories', :action => 'diff', :id => @project, :path => to_path_param(path)}, :method => :get) do %> |
|
2 | 3 | <table class="list changesets"> |
|
3 | 4 | <thead><tr> |
|
4 |
<% if |
|
|
5 | <th></th> | |
|
5 | <% if show_revision_graph %> | |
|
6 | <th></th> | |
|
6 | 7 | <% end %> |
|
7 | 8 | <th>#</th> |
|
8 | 9 | <th></th> |
@@ -16,7 +17,7 | |||
|
16 | 17 | <% line_num = 1 %> |
|
17 | 18 | <% revisions.each do |changeset| %> |
|
18 | 19 | <tr class="changeset <%= cycle 'odd', 'even' %>"> |
|
19 |
<% if |
|
|
20 | <% if show_revision_graph %> | |
|
20 | 21 | <% if line_num == 1 %> |
|
21 | 22 | <td class="revision_graph" rowspan="<%= revisions.size %>"> |
|
22 | 23 | <% href_base = Proc.new {|x| url_for(:controller => 'repositories', |
@@ -39,7 +40,7 | |||
|
39 | 40 | <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> |
|
40 | 41 | <td class="committed_on"><%= format_time(changeset.committed_on) %></td> |
|
41 | 42 | <td class="author"><%= h truncate(changeset.author.to_s, :length => 30) %></td> |
|
42 |
<% if |
|
|
43 | <% if show_revision_graph %> | |
|
43 | 44 | <td class="comments_nowrap"> |
|
44 | 45 | <%= textilizable(truncate(truncate_at_line_break(changeset.comments, 0), :length => 90)) %> |
|
45 | 46 | </td> |
General Comments 0
You need to be logged in to leave comments.
Login now