%= str = error_messages_for 'repository' %> <% project_path_cut = RepositoriesHelper::PROJECT_PATH_CUT %> <% ip = RepositoriesHelper::REPO_IP_ADDRESS %> <% if @project.repositories.any? %>
<%= l(:field_identifier) %> | <%= l(:field_repository_is_default) %> | <%= l(:label_scm) %> | <%= l(:label_repository_path) %> | ||
<%= link_to truncate(repository.identifier), ({:controller => 'repositories', :action => 'show', :id => @project, :repository_id => repository.identifier_param} if repository.identifier.present?), :class =>"c_blue" %> | <%= checked_image repository.is_default? %> | <%=h repository.scm_name %> | <%if repository.scm_name=="Git"%> <%else %> <% end %><% if repository.scm_name=="Git"%> <%if User.current.allowed_to?(:manage_repository, @project) %> <%= link_to(l(:label_user_plural), committers_repository_path(repository), :class => 'c_blue') %> <% end %> <% end %> | <% if repository.login.to_s==User.current.login.to_s %> <%= delete_new_link repository_path(repository) %> <% end %> |