diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb
index d0af82c8c..ffa3fb4aa 100644
--- a/app/controllers/repositories_controller.rb
+++ b/app/controllers/repositories_controller.rb
@@ -227,7 +227,7 @@ update
elsif request.get?
respond_to do |format|
format.html{
- render :layout => "project_base"
+ render :layout => "base_projects"
}
end
diff --git a/app/views/projects/settings/_new_repositories.html.erb b/app/views/projects/settings/_new_repositories.html.erb
index 6e0d74849..ca771a487 100644
--- a/app/views/projects/settings/_new_repositories.html.erb
+++ b/app/views/projects/settings/_new_repositories.html.erb
@@ -33,8 +33,7 @@
<% if repository.scm_name=="Git"%>
<%if User.current.allowed_to?(:manage_repository, @project) %>
- <%= link_to(l(:label_user_plural), committers_repository_path(repository)
- ) %>
+ <%= link_to(l(:label_user_plural), committers_repository_path(repository)) %>
<% end %>
<% end %>
|
diff --git a/app/views/projects/settings/_repositories.html.erb b/app/views/projects/settings/_repositories.html.erb
index 3d9d71a56..6c340f47c 100644
--- a/app/views/projects/settings/_repositories.html.erb
+++ b/app/views/projects/settings/_repositories.html.erb
@@ -27,25 +27,15 @@
<% end %>
- <% if repository.scm_name=="Subversion"%>
- <%if User.current.allowed_to?(:manage_repository, @project) %>
- <%= link_to(l(:label_user_plural), committers_repository_path(repository),
- :class => 'icon icon-user') %>
- <%= link_to(l(:button_edit), edit_repository_path(repository),
- :class => 'icon icon-edit') %>
- <%= delete_link repository_path(repository) %>
- <% end %>
- <% elsif repository.scm_name=="Git"%>
- <%if User.current.allowed_to?(:manage_repository, @project) %>
-
- <%= link_to(l(:label_user_plural), committers_repository_path(repository),
- :class => 'icon icon-user') %>
- <% if repository.login.to_s==User.current.login.to_s %>
- <%= delete_link repository_path(repository) %>
- <% end %>
- <% end %>
- <% end %>
+ <%= link_to(l(:label_user_plural), committers_repository_path(repository), :class => 'icon icon-user') %>
+ <% if repository.login.to_s==User.current.login.to_s %>
+ <%= delete_link repository_path(repository) %>
+ <% end %>
+ <% end %>
|
<% end %>