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
Léo-Paul Géneau
gitlab-ce
Commits
8f779b0e
Commit
8f779b0e
authored
Nov 07, 2018
by
Mark Lapierre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix e2e create merge request test
Add QA selector to 'New label' button on empty labels page
parent
0cd22a38
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/views/shared/empty_states/_labels.html.haml
app/views/shared/empty_states/_labels.html.haml
+1
-1
No files found.
app/views/shared/empty_states/_labels.html.haml
View file @
8f779b0e
...
...
@@ -8,7 +8,7 @@
%p
=
_
(
"You can also star a label to make it a priority label."
)
.text-center
-
if
can?
(
current_user
,
:admin_label
,
@project
)
=
link_to
_
(
'New label'
),
new_project_label_path
(
@project
),
class:
'btn btn-success'
,
title:
_
(
'New label'
),
id:
'new_label_link'
=
link_to
_
(
'New label'
),
new_project_label_path
(
@project
),
class:
'btn btn-success
qa-label-create-new
'
,
title:
_
(
'New label'
),
id:
'new_label_link'
=
link_to
_
(
'Generate a default set of labels'
),
generate_project_labels_path
(
@project
),
method: :post
,
class:
'btn btn-success btn-inverted'
,
title:
_
(
'Generate a default set of labels'
),
id:
'generate_labels_link'
-
if
can?
(
current_user
,
:admin_label
,
@group
)
=
link_to
_
(
'New label'
),
new_group_label_path
(
@group
),
class:
'btn btn-success'
,
title:
_
(
'New label'
),
id:
'new_label_link'
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