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
|
|
|
|
|
2021-01-29 00:20:46 +05:30
|
|
|
= render_if_exists 'projects/invite_members_modal', project: @project
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
.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
|
2021-01-03 14:25:43 +05:30
|
|
|
= link_to _('Delete project'), project_path(@project), data: { confirm: remove_project_message(@project)}, method: :delete, class: "gl-button btn btn-danger btn-danger-secondary float-right"
|