Commit fce4f138 authored by Drew Blessing's avatar Drew Blessing

Show message if user tries to fork and has no available namespaces

parent 680b6d88
- page_title "Fork project"
%h3.page-title Fork project
%p.lead
- if @namespaces.present?
%h3.page-title Fork project
%p.lead
Click to fork the project to a user or group
%hr
%hr
.fork-namespaces
.fork-namespaces
- @namespaces.in_groups_of(6, false) do |group|
.row
- group.each do |namespace|
......@@ -31,6 +32,10 @@
Fork is a copy of a project repository.
%br
Forking a repository allows you to do changes without affecting the original project.
- else
%h3 No available namespaces to fork the project
%p.slead
You must have permission to create a project in a namespace before forking.
.save-project-loader.hide
.center
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment