diff --git a/app/views/repositories/revision.rhtml b/app/views/repositories/revision.rhtml index c5bac720b..b60b2a22a 100644 --- a/app/views/repositories/revision.rhtml +++ b/app/views/repositories/revision.rhtml @@ -12,7 +12,7 @@ <%= l(:label_next) %> <% end -%> » - + <% form_tag({:controller => 'repositories', :action => 'revision', :id => @project, :rev => nil}, :method => :get) do %> <%= text_field_tag 'rev', @rev, :size => 5 %> <%= submit_tag 'OK', :name => nil %> @@ -35,6 +35,7 @@ <% end %> +<% if User.current.allowed_to?(:browse_repository, @project) %>