@@ -35,6 +35,7 | |||||
35 | </ul> |
|
35 | </ul> | |
36 | <% end %> |
|
36 | <% end %> | |
37 |
|
37 | |||
|
38 | <% if User.current.allowed_to?(:browse_repository, @project) %> | |||
38 | <h3><%= l(:label_attachment_plural) %></h3> |
|
39 | <h3><%= l(:label_attachment_plural) %></h3> | |
39 | <ul id="changes-legend"> |
|
40 | <ul id="changes-legend"> | |
40 | <li class="change change-A"><%= l(:label_added) %></li> |
|
41 | <li class="change change-A"><%= l(:label_added) %></li> | |
@@ -49,6 +50,7 | |||||
49 | <div class="changeset-changes"> |
|
50 | <div class="changeset-changes"> | |
50 | <%= render_changeset_changes %> |
|
51 | <%= render_changeset_changes %> | |
51 | </div> |
|
52 | </div> | |
|
53 | <% end %> | |||
52 |
|
54 | |||
53 | <% content_for :header_tags do %> |
|
55 | <% content_for :header_tags do %> | |
54 | <%= stylesheet_link_tag "scm" %> |
|
56 | <%= stylesheet_link_tag "scm" %> |
General Comments 0
You need to be logged in to leave comments.
Login now