Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
fce4f138
Commit
fce4f138
authored
Sep 25, 2015
by
Drew Blessing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show message if user tries to fork and has no available namespaces
parent
680b6d88
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
29 deletions
+34
-29
app/views/projects/forks/new.html.haml
app/views/projects/forks/new.html.haml
+34
-29
No files found.
app/views/projects/forks/new.html.haml
View file @
fce4f138
-
page_title
"Fork project"
-
page_title
"Fork project"
%h3
.page-title
Fork project
-
if
@namespaces
.
present?
%p
.lead
%h3
.page-title
Fork project
%p
.lead
Click to fork the project to a user or group
Click to fork the project to a user or group
%hr
%hr
.fork-namespaces
.fork-namespaces
-
@namespaces
.
in_groups_of
(
6
,
false
)
do
|
group
|
-
@namespaces
.
in_groups_of
(
6
,
false
)
do
|
group
|
.row
.row
-
group
.
each
do
|
namespace
|
-
group
.
each
do
|
namespace
|
...
@@ -31,6 +32,10 @@
...
@@ -31,6 +32,10 @@
Fork is a copy of a project repository.
Fork is a copy of a project repository.
%br
%br
Forking a repository allows you to do changes without affecting the original project.
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
.save-project-loader.hide
.center
.center
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment