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
7052de99
Commit
7052de99
authored
Aug 30, 2017
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't show ProjectLabel labels on group board cards
shorter label message
parent
b0f2e7fa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
app/assets/javascripts/boards/components/issue_card_inner.js
app/assets/javascripts/boards/components/issue_card_inner.js
+1
-0
app/assets/javascripts/boards/models/label.js
app/assets/javascripts/boards/models/label.js
+1
-0
app/views/shared/issuable/_label_page_default.html.haml
app/views/shared/issuable/_label_page_default.html.haml
+1
-2
No files found.
app/assets/javascripts/boards/components/issue_card_inner.js
View file @
7052de99
...
...
@@ -111,6 +111,7 @@ gl.issueBoards.IssueCardInner = Vue.extend({
},
showLabel
(
label
)
{
if
(
!
label
.
id
)
return
false
;
if
(
this
.
groupId
&&
label
.
type
===
'
ProjectLabel
'
)
return
false
;
return
true
;
},
filterByLabel
(
label
,
e
)
{
...
...
app/assets/javascripts/boards/models/label.js
View file @
7052de99
...
...
@@ -4,6 +4,7 @@ class ListLabel {
constructor
(
obj
)
{
this
.
id
=
obj
.
id
;
this
.
title
=
obj
.
title
;
this
.
type
=
obj
.
type
;
this
.
color
=
obj
.
color
;
this
.
textColor
=
obj
.
text_color
;
this
.
description
=
obj
.
description
;
...
...
app/views/shared/issuable/_label_page_default.html.haml
View file @
7052de99
...
...
@@ -8,8 +8,7 @@
-
if
show_boards_content
.issue-board-dropdown-content
%p
Create lists from the labels you use in your project. Issues with that
label will automatically be added to the list.
Create lists from labels. Issues with that label appear in that list.
=
dropdown_filter
(
filter_placeholder
)
=
dropdown_content
-
if
current_board_parent
&&
show_footer
...
...
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