debian-mirror-gitlab/app/views/projects/no_repo.html.haml

25 lines
801 B
Text
Raw Normal View History

2018-05-09 12:01:36 +05:30
- breadcrumb_title _("Details")
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
2018-05-09 12:01:36 +05:30
#{ _('Create empty 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
2018-05-09 12:01:36 +05:30
= link_to _('Remove project'), project_path(@project), data: { confirm: remove_project_message(@project)}, method: :delete, class: "btn btn-inverted btn-remove pull-right"