2014-11-29 17:49:51 -05:00
|
|
|
%h2
|
|
|
|
%i.fa.fa-warning
|
|
|
|
No repository
|
|
|
|
|
|
|
|
%p.slead
|
|
|
|
The repository for this project does not exist.
|
|
|
|
%br
|
|
|
|
This means you can not push code until you create an empty repository or import existing one.
|
|
|
|
%hr
|
|
|
|
|
|
|
|
.no-repo-actions
|
2015-01-24 13:02:58 -05:00
|
|
|
= link_to namespace_project_repository_path(@project.namespace, @project), method: :post, class: 'btn btn-primary' do
|
2014-11-29 17:49:51 -05:00
|
|
|
Create empty bare repository
|
|
|
|
|
|
|
|
%strong.prepend-left-10.append-right-10 or
|
|
|
|
|
2015-01-24 13:02:58 -05:00
|
|
|
= link_to new_namespace_project_import_path(@project.namespace, @project), class: 'btn' do
|
2014-11-29 17:49:51 -05:00
|
|
|
Import repository
|
|
|
|
|
|
|
|
- if can? current_user, :remove_project, @project
|
|
|
|
.prepend-top-20
|
2015-01-24 13:02:58 -05:00
|
|
|
= link_to 'Remove project', namespace_project_path(@project.namespace, @project), data: { confirm: remove_project_message(@project)}, method: :delete, class: "btn btn-remove pull-right"
|