@@ -12,7 +12,7 | |||||
12 | <%= l(:label_next) %> |
|
12 | <%= l(:label_next) %> | |
13 | <% end -%> |
|
13 | <% end -%> | |
14 | » |
|
14 | » | |
15 |
|
15 | |||
16 | <% form_tag({:controller => 'repositories', :action => 'revision', :id => @project, :rev => nil}, :method => :get) do %> |
|
16 | <% form_tag({:controller => 'repositories', :action => 'revision', :id => @project, :rev => nil}, :method => :get) do %> | |
17 | <%= text_field_tag 'rev', @rev, :size => 5 %> |
|
17 | <%= text_field_tag 'rev', @rev, :size => 5 %> | |
18 | <%= submit_tag 'OK', :name => nil %> |
|
18 | <%= submit_tag 'OK', :name => nil %> | |
@@ -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