##// 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
@@ -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