##// END OF EJS Templates
Do not show the changed files list on the revision page if the user is not allowed to browse the repository (#2762)....
Jean-Philippe Lang -
r2436:79fd564b6143
parent child
Show More
@@ -12,7 +12,7
12 12 <%= l(:label_next) %>
13 13 <% end -%>
14 14 &#187;&nbsp;
15
15
16 16 <% form_tag({:controller => 'repositories', :action => 'revision', :id => @project, :rev => nil}, :method => :get) do %>
17 17 <%= text_field_tag 'rev', @rev, :size => 5 %>
18 18 <%= submit_tag 'OK', :name => nil %>
@@ -35,6 +35,7
35 35 </ul>
36 36 <% end %>
37 37
38 <% if User.current.allowed_to?(:browse_repository, @project) %>
38 39 <h3><%= l(:label_attachment_plural) %></h3>
39 40 <ul id="changes-legend">
40 41 <li class="change change-A"><%= l(:label_added) %></li>
@@ -49,6 +50,7
49 50 <div class="changeset-changes">
50 51 <%= render_changeset_changes %>
51 52 </div>
53 <% end %>
52 54
53 55 <% content_for :header_tags do %>
54 56 <%= stylesheet_link_tag "scm" %>
General Comments 0
You need to be logged in to leave comments. Login now