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
Boxiang Sun
gitlab-ce
Commits
282338d8
Commit
282338d8
authored
Jun 06, 2018
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UX review
parent
8a70bbad
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
10 deletions
+9
-10
app/assets/stylesheets/pages/labels.scss
app/assets/stylesheets/pages/labels.scss
+1
-1
app/views/groups/labels/index.html.haml
app/views/groups/labels/index.html.haml
+0
-2
app/views/shared/_label.html.haml
app/views/shared/_label.html.haml
+8
-7
No files found.
app/assets/stylesheets/pages/labels.scss
View file @
282338d8
...
...
@@ -58,7 +58,7 @@
}
.color-label
{
padding
:
0
$grid-size
;
padding
:
$gl-padding-4
$grid-size
;
line-height
:
16px
;
border-radius
:
$label-border-radius
;
color
:
$white-light
;
...
...
app/views/groups/labels/index.html.haml
View file @
282338d8
...
...
@@ -16,8 +16,6 @@
.top-area.adjust
.nav-text
=
_
(
'Labels can be applied to %{features}. Group labels are available for any project within the group.'
)
%
{
features:
issuables
.
to_sentence
}
-
if
can_admin_label
=
_
(
'Star a label to make it a priority label. Order the prioritized labels to change their relative priority, by dragging.'
)
.labels-container.prepend-top-5
.other-labels
...
...
app/views/shared/_label.html.haml
View file @
282338d8
...
...
@@ -14,7 +14,8 @@
-
if
@project
%li
.inline
.label-badge.label-badge-gray
=
label
.
model_name
.
human
.
capitalize
-
if
can?
(
current_user
,
:admin_label
,
@project
)
-
if
can?
(
current_user
,
:admin_label
,
label
)
-
if
@project
%li
.inline.js-toggle-priority
{
data:
{
url:
remove_priority_project_label_path
(
@project
,
label
),
dom_id:
dom_id
(
label
),
type:
label
.
type
}
}
%button
.label-action.add-priority.btn.btn-transparent.has-tooltip
{
title:
_
(
'Prioritize'
),
type:
'button'
,
data:
{
placement:
'top'
},
aria_label:
_
(
'Prioritize label'
)
}
...
...
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