2015-04-26 12:48:37 +05:30
|
|
|
%h2
|
|
|
|
%i.fa.fa-warning
|
2017-09-10 17:25:29 +05:30
|
|
|
#{ _('No repository') }
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
%p.slead
|
2017-09-10 17:25:29 +05:30
|
|
|
#{ _('The repository for this project does not exist.') }
|
2015-04-26 12:48:37 +05:30
|
|
|
%br
|
2017-09-10 17:25:29 +05:30
|
|
|
#{ _('This means you can not push code until you create an empty repository or import existing one.') }
|
2015-04-26 12:48:37 +05:30
|
|
|
%hr
|
|
|
|
|
|
|
|
.no-repo-actions
|
2017-09-10 17:25:29 +05:30
|
|
|
= link_to project_repository_path(@project), method: :post, class: 'btn btn-primary' do
|
|
|
|
#{ _('Create empty bare repository') }
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
%strong.prepend-left-10.append-right-10 or
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
= link_to new_project_import_path(@project), class: 'btn' do
|
|
|
|
#{ _('Import repository') }
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
- if can? current_user, :remove_project, @project
|
|
|
|
.prepend-top-20
|
2017-09-10 17:25:29 +05:30
|
|
|
= link_to _('Remove project'), project_path(@project), data: { confirm: remove_project_message(@project)}, method: :delete, class: "btn btn-remove pull-right"
|