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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
00e80a29
Commit
00e80a29
authored
Jun 06, 2018
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct merge
parent
8ed0267f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
app/views/shared/_label.html.haml
app/views/shared/_label.html.haml
+1
-1
app/views/shared/_label_row.html.haml
app/views/shared/_label_row.html.haml
+6
-4
No files found.
app/views/shared/_label.html.haml
View file @
00e80a29
...
...
@@ -11,7 +11,7 @@
%li
.label-list-item
{
id:
label_css_id
,
data:
{
id:
label
.
id
}
}
=
render
"shared/label_row"
,
label:
label
,
subject:
subject
,
force_priority:
force_priority
.d-inline-block.d-sm-none.dropdown
%ul
.label-actions-list
-
if
@project
%li
.inline
.label-badge.label-badge-gray
=
label
.
model_name
.
human
.
capitalize
...
...
app/views/shared/_label_row.html.haml
View file @
00e80a29
...
...
@@ -11,17 +11,19 @@
-
if
label
.
description
.
present?
.description-text.append-bottom-10
=
markdown_field
(
label
,
:description
)
.d-none.d-sm-none.d-md-block
%ul
.label-links
-
if
show_label_epics_link
=
link_to
'Epics'
,
group_epics_path
(
@group
,
label_name
:[
label
.
name
])
·
%li
.label-link-item.inline
=
link_to
'Epics'
,
group_epics_path
(
@group
,
label_name
:[
label
.
name
])
·
-
if
show_label_issues_link
%li
.label-link-item.inline
=
link_to_label
(
label
,
subject:
subject
)
{
'Issues'
}
·
-
if
show_label_merge_requests_link
·
%li
.label-link-item.inline
=
link_to_label
(
label
,
subject:
subject
,
type: :merge_request
)
{
_
(
'Merge requests'
)
}
·
-
if
force_priority
%li
.label-link-item.js-priority-badge.inline.prepend-left-10
.label-badge.label-badge-blue
=
_
(
'Prioritized 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