2021-02-22 17:27:13 +05:30
|
|
|
- page_title _('No repository')
|
|
|
|
- @skip_current_level_breadcrumb = true
|
2018-05-09 12:01:36 +05:30
|
|
|
|
2021-01-29 00:20:46 +05:30
|
|
|
%h2.gl-display-flex
|
|
|
|
.gl-display-flex.gl-align-items-center.gl-justify-content-center
|
|
|
|
= sprite_icon('warning-solid', size: 24, css_class: 'gl-mr-2')
|
|
|
|
= _('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
|
2021-03-11 19:13:27 +05:30
|
|
|
= link_to project_repository_path(@project), method: :post, class: 'btn gl-button btn-confirm' 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
|
|
|
|
2021-03-11 19:13:27 +05:30
|
|
|
= link_to new_project_import_path(@project), class: 'btn gl-button btn-default' do
|
2017-09-10 17:25:29 +05:30
|
|
|
#{ _('Import repository') }
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
- if can? current_user, :remove_project, @project
|
|
|
|
.prepend-top-20
|
2022-04-04 11:22:00 +05:30
|
|
|
= link_to _('Delete project'), project_path(@project), data: { confirm: remove_project_message(@project), confirm_btn_variant: 'danger' }, aria: { label: _('Delete project') }, method: :delete, class: "btn gl-button btn-danger float-right"
|