debian-mirror-gitlab/app/views/projects/forks/new.html.haml
2020-04-08 14:13:33 +05:30

21 lines
804 B
Text

- page_title _("Fork project")
.row.prepend-top-default
.col-lg-3
%h4.prepend-top-0
= _("Fork project")
%p
= _("A fork is a copy of a project.<br />Forking a repository allows you to make changes without affecting the original project.").html_safe
.col-lg-9
- if @namespaces.present?
.fork-thumbnail-container.js-fork-content
%h5.prepend-top-0.append-bottom-0.prepend-left-default.append-right-default
= _("Select a namespace to fork the project")
- @namespaces.each do |namespace|
= render 'fork_button', namespace: namespace
- else
%strong
= _("No available namespaces to fork the project.")
%p.prepend-top-default
= _("You must have permission to create a project in a namespace before forking.")