diff --git a/app/views/projects/settings/_repositories.html.erb b/app/views/projects/settings/_repositories.html.erb index cf150f11a..c2581b38c 100644 --- a/app/views/projects/settings/_repositories.html.erb +++ b/app/views/projects/settings/_repositories.html.erb @@ -1,24 +1,24 @@ <% if @project.repositories.any? %> - + - + <% @project.repositories.sort.each do |repository| %> - - + + - - + - + <% end %> + + <% end %>
<%= l(:label_scm) %> <%= l(:field_identifier) %> <%= l(:field_repository_is_default) %> <%= l(:label_repository) %>
<%=h repository.scm_name %>
<%=h repository.scm_name %> <%=h repository.identifier %> <%= checked_image repository.is_default? %><%=h repository.url %> - <% if User.current.allowed_to?(:manage_repository, @project) %> - <%= link_to(l(:label_user_plural), committers_repository_path(repository), + <%=h repository.url %> + <% 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') %> @@ -26,9 +26,9 @@ :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del') %> - <% end %> -