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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
cf7707b4
Commit
cf7707b4
authored
Jun 01, 2015
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Omit link to generate labels if user does not have access to create them
Closes
https://github.com/gitlabhq/gitlabhq/issues/8353
parent
76ae8719
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
CHANGELOG
CHANGELOG
+1
-0
app/views/projects/labels/index.html.haml
app/views/projects/labels/index.html.haml
+4
-1
No files found.
CHANGELOG
View file @
cf7707b4
Please view this file on the master branch, on stable branches it's out of date.
v 7.12.0 (unreleased)
- Omit link to generate labels if user does not have access to create them (Stan Hu)
- Disable changing of the source branch in merge request update API (Stan Hu)
- Shorten merge request WIP text.
- Add option to disallow users from registering any application to use GitLab as an OAuth provider
...
...
app/views/projects/labels/index.html.haml
View file @
cf7707b4
...
...
@@ -13,4 +13,7 @@
=
paginate
@labels
,
theme:
'gitlab'
-
else
.light-well
-
if
can?
current_user
,
:admin_label
,
@project
.nothing-here-block
Create first label or
#{
link_to
'generate'
,
generate_namespace_project_labels_path
(
@project
.
namespace
,
@project
),
method: :post
}
default set of labels
-
else
.nothing-here-block
No labels created
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