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

26 lines
812 B
Text
Raw Normal View History

2018-05-09 12:01:36 +05:30
- breadcrumb_title _("Details")
2020-07-28 23:09:34 +05:30
- page_title _("Details")
2018-05-09 12:01:36 +05:30
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
2020-07-28 23:09:34 +05:30
%strong.gl-ml-3.gl-mr-3 or
2015-04-26 12:48:37 +05:30
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-11-08 19:23:39 +05:30
= link_to _('Remove project'), project_path(@project), data: { confirm: remove_project_message(@project)}, method: :delete, class: "btn btn-inverted btn-remove float-right"