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
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
Hide 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 @@ $(() => {
if
(
list
.
type
===
'
closed
'
)
{
list
.
position
=
Infinity
;
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,7 +87,10 @@ gl.issueBoards.Board = Vue.extend({
toggleExpanded
(
e
)
{
if
(
this
.
list
.
isExpandable
&&
!
e
.
target
.
classList
.
contains
(
'
js-no-trigger-collapse
'
))
{
this
.
list
.
isExpanded
=
!
this
.
list
.
isExpanded
;
localStorage
.
setItem
(
`boards.
${
this
.
boardId
}
.
${
this
.
list
.
type
}
.expanded`
,
this
.
list
.
isExpanded
);
if
(
AccessorUtilities
.
isLocalStorageAccessSafe
())
{
localStorage
.
setItem
(
`boards.
${
this
.
boardId
}
.
${
this
.
list
.
type
}
.expanded`
,
this
.
list
.
isExpanded
);
}
}
},
},
...
...
app/assets/stylesheets/pages/boards.scss
View file @
b6e39b02
...
...
@@ -104,7 +104,7 @@
}
&
.is-collapsed
{
width
:
6
0px
;
width
:
5
0px
;
.board-header
{
position
:
absolute
;
...
...
app/views/projects/boards/components/_board.html.haml
View file @
b6e39b02
...
...
@@ -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)"
}
%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"
,
":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"
}
%span
.has-tooltip
{
":title"
=>
'(list.label ? list.label.description : "")'
,
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