Defect #33896 » fix-view-differences-buttons.patch
| app/views/repositories/_revisions.html.erb | ||
|---|---|---|
|
<%= form_tag(
|
||
|
{:controller => 'repositories', :action => 'diff', :id => project,
|
||
|
:repository_id => @repository.identifier_param, :path => to_path_param(path)},
|
||
|
:method => :get
|
||
|
) do %>
|
||
|
<% show_diff = revisions.size > 1 && User.current.allowed_to?(:browse_repository, @repository.project) %>
|
||
|
<% if show_diff %>
|
||
|
<p>
|
||
| ... | ... | |
|
:space => graph_space
|
||
|
}
|
||
|
end %>
|
||
|
<%= form_tag(
|
||
|
{:controller => 'repositories', :action => 'diff', :id => project,
|
||
|
:repository_id => @repository.identifier_param, :path => to_path_param(path)},
|
||
|
:method => :get
|
||
|
) do %>
|
||
|
<table class="list changesets">
|
||
|
<thead><tr>
|
||
|
<th>#</th>
|
||
| ... | ... | |
|
<% end %>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
<% if show_diff %>
|
||
|
<p>
|
||
|
<%= submit_tag(l(:label_view_diff), :name => nil) %>
|
||
|
</p>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
- « Previous
- 1
- …
- 3
- 4
- 5
- Next »