mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-23 08:51:13 +00:00
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20147 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
1b5c650f1a
commit
d9c6249a9c
@ -1,3 +1,9 @@
|
|||||||
|
<% show_diff = revisions.size > 1 && User.current.allowed_to?(:browse_repository, @repository.project) %>
|
||||||
|
<% if show_diff %>
|
||||||
|
<p>
|
||||||
|
<%= submit_tag(l(:label_view_diff), :name => nil) %>
|
||||||
|
</p>
|
||||||
|
<% end %>
|
||||||
<div class="autoscroll">
|
<div class="autoscroll">
|
||||||
<% show_revision_graph = ( @repository.supports_revision_graph? && path.blank? ) %>
|
<% show_revision_graph = ( @repository.supports_revision_graph? && path.blank? ) %>
|
||||||
<%= if show_revision_graph && revisions && revisions.any?
|
<%= if show_revision_graph && revisions && revisions.any?
|
||||||
@ -20,12 +26,6 @@ end %>
|
|||||||
:repository_id => @repository.identifier_param, :path => to_path_param(path)},
|
:repository_id => @repository.identifier_param, :path => to_path_param(path)},
|
||||||
:method => :get
|
:method => :get
|
||||||
) do %>
|
) do %>
|
||||||
<% show_diff = revisions.size > 1 && User.current.allowed_to?(:browse_repository, @repository.project) %>
|
|
||||||
<% if show_diff %>
|
|
||||||
<p>
|
|
||||||
<%= submit_tag(l(:label_view_diff), :name => nil) %>
|
|
||||||
</p>
|
|
||||||
<% end %>
|
|
||||||
<table class="list changesets">
|
<table class="list changesets">
|
||||||
<thead><tr>
|
<thead><tr>
|
||||||
<th>#</th>
|
<th>#</th>
|
||||||
@ -53,10 +53,10 @@ end %>
|
|||||||
<% end %>
|
<% end %>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<% end %>
|
||||||
|
</div>
|
||||||
<% if show_diff %>
|
<% if show_diff %>
|
||||||
<p>
|
<p>
|
||||||
<%= submit_tag(l(:label_view_diff), :name => nil) %>
|
<%= submit_tag(l(:label_view_diff), :name => nil) %>
|
||||||
</p>
|
</p>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% end %>
|
|
||||||
</div>
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user