<%= t("description") %>: <%= @project.description %>


<%= Repository.model_name.human(count: 2) %>

<% if project_owner? @project.id %><%= link_to t_action(:new, Repository), new_project_repository_path(@project,), class: 'btn btn-primary' %><% end %> <% if @project_repositories.size == 0 %> <% col_number = project_owner?(@project.id) ? 4 : 3 %> <% end %> <% @project_repositories.each do |repository| %> <% end %>
<%= t("Name") %> <%= t("Type") %> <%= t("Address") %>
<%= t("no_repositories") %>
<%= repository.name %> <%= repository.scm_type %> <%= repository.address %> <% if project_owner? @project.id %> <%= link_to t('edit'), edit_repository_path(repository.id), class: 'btn btn-info' %> <% end %> <%= link_to t('show'), repository_path(repository.id), class: 'btn btn-info' %>

<% if project_owner? @project.id %> <%= link_to t_action(:destroy, Project), project_path(@project.id), method: :delete, data: { confirm: t('want_destroy_project') }, class: 'btn btn-danger' %> <% end %>