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
193bc526
Commit
193bc526
authored
Oct 02, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed specs
parent
075f5ed9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
app/views/projects/forks/new.html.haml
app/views/projects/forks/new.html.haml
+1
-0
features/steps/project/fork.rb
features/steps/project/fork.rb
+1
-1
No files found.
app/views/projects/forks/new.html.haml
View file @
193bc526
...
...
@@ -20,6 +20,7 @@
-
fork_path
=
forked_project
?
project_path
(
forked_project
)
:
project_forks_path
(
@project
,
namespace_key:
namespace
.
id
)
.bordered-box.fork-thumbnail.text-center.prepend-left-default.append-right-default.prepend-top-default.append-bottom-default
{
class:
[(
"disabled"
unless
can_create_project
),
(
"forked"
if
forked_project
)]
}
=
link_to
fork_path
,
method:
"POST"
,
class:
[(
"js-fork-thumbnail"
unless
forked_project
),
(
"disabled has-tooltip"
unless
can_create_project
)],
title:
(
_
(
'You have reached your project limit'
)
unless
can_create_project
)
do
-
if
/no_((\w*)_)*avatar/
.
match
(
avatar
)
...
...
features/steps/project/fork.rb
View file @
193bc526
...
...
@@ -26,7 +26,7 @@ class Spinach::Features::ProjectFork < Spinach::FeatureSteps
end
step
'I fork to my namespace'
do
page
.
within
'.fork-
namespaces
'
do
page
.
within
'.fork-
thumbnail-container
'
do
click_link
current_user
.
name
end
end
...
...
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