Defect #33896 » fix-view-differences-buttons.patch
| app/views/repositories/_revisions.html.erb | ||
|---|---|---|
| 1 |
<%= form_tag( |
|
| 2 |
{:controller => 'repositories', :action => 'diff', :id => project,
|
|
| 3 |
:repository_id => @repository.identifier_param, :path => to_path_param(path)}, |
|
| 4 |
:method => :get |
|
| 5 |
) do %> |
|
| 1 | 6 |
<% show_diff = revisions.size > 1 && User.current.allowed_to?(:browse_repository, @repository.project) %> |
| 2 | 7 |
<% if show_diff %> |
| 3 | 8 |
<p> |
| ... | ... | |
| 21 | 26 |
:space => graph_space |
| 22 | 27 |
} |
| 23 | 28 |
end %> |
| 24 |
<%= form_tag( |
|
| 25 |
{:controller => 'repositories', :action => 'diff', :id => project,
|
|
| 26 |
:repository_id => @repository.identifier_param, :path => to_path_param(path)}, |
|
| 27 |
:method => :get |
|
| 28 |
) do %> |
|
| 29 | 29 |
<table class="list changesets"> |
| 30 | 30 |
<thead><tr> |
| 31 | 31 |
<th>#</th> |
| ... | ... | |
| 53 | 53 |
<% end %> |
| 54 | 54 |
</tbody> |
| 55 | 55 |
</table> |
| 56 |
<% end %> |
|
| 57 | 56 |
</div> |
| 58 | 57 |
<% if show_diff %> |
| 59 | 58 |
<p> |
| 60 | 59 |
<%= submit_tag(l(:label_view_diff), :name => nil) %> |
| 61 | 60 |
</p> |
| 62 | 61 |
<% end %> |
| 62 |
<% end %> |
|
- « Previous
- 1
- …
- 3
- 4
- 5
- Next »