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
b6e39b02
Commit
b6e39b02
authored
Jun 01, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed the icon for the collapsed backlog list
[ci skip]
parent
8f5da962
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
app/assets/javascripts/boards/boards_bundle.js
app/assets/javascripts/boards/boards_bundle.js
+2
-0
app/assets/javascripts/boards/components/board.js
app/assets/javascripts/boards/components/board.js
+4
-1
app/assets/stylesheets/pages/boards.scss
app/assets/stylesheets/pages/boards.scss
+1
-1
app/views/projects/boards/components/_board.html.haml
app/views/projects/boards/components/_board.html.haml
+1
-1
No files found.
app/assets/javascripts/boards/boards_bundle.js
View file @
b6e39b02
...
@@ -88,6 +88,8 @@ $(() => {
...
@@ -88,6 +88,8 @@ $(() => {
if
(
list
.
type
===
'
closed
'
)
{
if
(
list
.
type
===
'
closed
'
)
{
list
.
position
=
Infinity
;
list
.
position
=
Infinity
;
list
.
label
=
{
description
:
'
Shows all closed issues. Moving an issue to this list closes it
'
};
list
.
label
=
{
description
:
'
Shows all closed issues. Moving an issue to this list closes it
'
};
}
else
if
(
list
.
type
===
'
backlog
'
)
{
list
.
position
=
-
1
;
}
}
});
});
...
...
app/assets/javascripts/boards/components/board.js
View file @
b6e39b02
...
@@ -87,8 +87,11 @@ gl.issueBoards.Board = Vue.extend({
...
@@ -87,8 +87,11 @@ gl.issueBoards.Board = Vue.extend({
toggleExpanded
(
e
)
{
toggleExpanded
(
e
)
{
if
(
this
.
list
.
isExpandable
&&
!
e
.
target
.
classList
.
contains
(
'
js-no-trigger-collapse
'
))
{
if
(
this
.
list
.
isExpandable
&&
!
e
.
target
.
classList
.
contains
(
'
js-no-trigger-collapse
'
))
{
this
.
list
.
isExpanded
=
!
this
.
list
.
isExpanded
;
this
.
list
.
isExpanded
=
!
this
.
list
.
isExpanded
;
if
(
AccessorUtilities
.
isLocalStorageAccessSafe
())
{
localStorage
.
setItem
(
`boards.
${
this
.
boardId
}
.
${
this
.
list
.
type
}
.expanded`
,
this
.
list
.
isExpanded
);
localStorage
.
setItem
(
`boards.
${
this
.
boardId
}
.
${
this
.
list
.
type
}
.expanded`
,
this
.
list
.
isExpanded
);
}
}
}
},
},
},
},
mounted
()
{
mounted
()
{
...
...
app/assets/stylesheets/pages/boards.scss
View file @
b6e39b02
...
@@ -104,7 +104,7 @@
...
@@ -104,7 +104,7 @@
}
}
&
.is-collapsed
{
&
.is-collapsed
{
width
:
6
0px
;
width
:
5
0px
;
.board-header
{
.board-header
{
position
:
absolute
;
position
:
absolute
;
...
...
app/views/projects/boards/components/_board.html.haml
View file @
b6e39b02
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
%header
.board-header
{
":class"
=>
'
{
"has-border"
:
list
.
label
&&
list
.
label
.
color
}
'
,
":style"
=>
"{ borderTopColor: (list.label && list.label.color ? list.label.color : null) }"
,
"@click"
=>
"toggleExpanded($event)"
}
%header
.board-header
{
":class"
=>
'
{
"has-border"
:
list
.
label
&&
list
.
label
.
color
}
'
,
":style"
=>
"{ borderTopColor: (list.label && list.label.color ? list.label.color : null) }"
,
"@click"
=>
"toggleExpanded($event)"
}
%h3
.board-title.js-board-handle
{
":class"
=>
'
{
"user-can-drag"
:
(
!
disabled
&&
!
list
.
preset
)
}
'
}
%h3
.board-title.js-board-handle
{
":class"
=>
'
{
"user-can-drag"
:
(
!
disabled
&&
!
list
.
preset
)
}
'
}
%i
.fa.fa-fw.board-title-expandable-toggle
{
"v-if"
:
"list.isExpandable"
,
%i
.fa.fa-fw.board-title-expandable-toggle
{
"v-if"
:
"list.isExpandable"
,
":class"
:
"{
\"
fa-caret-down
\"
: list.isExpanded,
\"
fa-caret-
left
\"
: !list.isExpanded
}"
,
":class"
:
"{
\"
fa-caret-down
\"
: list.isExpanded,
\"
fa-caret-
right
\"
: !list.isExpanded && list.position === -1,
\"
fa-caret-left
\"
: !list.isExpanded && list.position !== -1
}"
,
"aria-hidden"
:
"true"
}
"aria-hidden"
:
"true"
}
%span
.has-tooltip
{
":title"
=>
'(list.label ? list.label.description : "")'
,
%span
.has-tooltip
{
":title"
=>
'(list.label ? list.label.description : "")'
,
data:
{
container:
"body"
,
placement:
"bottom"
}
}
data:
{
container:
"body"
,
placement:
"bottom"
}
}
...
...
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