debian-mirror-gitlab/app/views/projects/forks/new.html.haml

22 lines
734 B
Text
Raw Normal View History

2019-07-31 22:56:46 +05:30
- page_title _("Fork project")
2015-04-26 12:48:37 +05:30
2020-07-28 23:09:34 +05:30
.row.gl-mt-3
2016-08-24 12:49:21 +05:30
.col-lg-3
2020-06-23 00:09:42 +05:30
%h4.gl-mt-0
2019-07-31 22:56:46 +05:30
= _("Fork project")
2016-08-24 12:49:21 +05:30
%p
2019-07-31 22:56:46 +05:30
= _("A fork is a copy of a project.<br />Forking a repository allows you to make changes without affecting the original project.").html_safe
2016-08-24 12:49:21 +05:30
.col-lg-9
2018-03-17 18:26:18 +05:30
- if @namespaces.present?
.fork-thumbnail-container.js-fork-content
2020-07-28 23:09:34 +05:30
%h5.gl-mt-0.gl-mb-0.gl-ml-3.gl-mr-3
2018-10-15 14:42:47 +05:30
= _("Select a namespace to fork the project")
2018-03-17 18:26:18 +05:30
- @namespaces.each do |namespace|
= render 'fork_button', namespace: namespace
- else
%strong
2019-07-31 22:56:46 +05:30
= _("No available namespaces to fork the project.")
2020-07-28 23:09:34 +05:30
%p.gl-mt-3
2019-07-31 22:56:46 +05:30
= _("You must have permission to create a project in a namespace before forking.")
2015-04-26 12:48:37 +05:30