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

22 lines
804 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
2016-08-24 12:49:21 +05:30
.row.prepend-top-default
.col-lg-3
%h4.prepend-top-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
%h5.prepend-top-0.append-bottom-0.prepend-left-default.append-right-default
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.")
2018-03-17 18:26:18 +05:30
%p.prepend-top-default
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