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
055e004c
Commit
055e004c
authored
Aug 10, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change `Backlog` list title to `Open`
parent
c59000a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
app/assets/javascripts/boards/models/list.js
app/assets/javascripts/boards/models/list.js
+2
-1
spec/features/boards/boards_spec.rb
spec/features/boards/boards_spec.rb
+1
-1
No files found.
app/assets/javascripts/boards/models/list.js
View file @
055e004c
/* eslint-disable no-underscore-dangle, class-methods-use-this, consistent-return, no-shadow, no-param-reassign, max-len */
/* eslint-disable no-underscore-dangle, class-methods-use-this, consistent-return, no-shadow, no-param-reassign, max-len */
/* global ListIssue */
/* global ListIssue */
import
{
__
}
from
'
~/locale
'
;
import
ListLabel
from
'
~/vue_shared/models/label
'
;
import
ListLabel
from
'
~/vue_shared/models/label
'
;
import
ListAssignee
from
'
~/vue_shared/models/assignee
'
;
import
ListAssignee
from
'
~/vue_shared/models/assignee
'
;
import
queryData
from
'
../utils/query_data
'
;
import
queryData
from
'
../utils/query_data
'
;
...
@@ -31,7 +32,7 @@ class List {
...
@@ -31,7 +32,7 @@ class List {
this
.
id
=
obj
.
id
;
this
.
id
=
obj
.
id
;
this
.
_uid
=
this
.
guid
();
this
.
_uid
=
this
.
guid
();
this
.
position
=
obj
.
position
;
this
.
position
=
obj
.
position
;
this
.
title
=
obj
.
title
;
this
.
title
=
obj
.
list_type
===
'
backlog
'
?
__
(
'
Open
'
)
:
obj
.
title
;
this
.
type
=
obj
.
list_type
;
this
.
type
=
obj
.
list_type
;
const
typeInfo
=
this
.
getTypeInfo
(
this
.
type
);
const
typeInfo
=
this
.
getTypeInfo
(
this
.
type
);
...
...
spec/features/boards/boards_spec.rb
View file @
055e004c
...
@@ -46,7 +46,7 @@ describe 'Issue Boards', :js do
...
@@ -46,7 +46,7 @@ describe 'Issue Boards', :js do
end
end
it
'creates default lists'
do
it
'creates default lists'
do
lists
=
[
'
Backlog
'
,
'To Do'
,
'Doing'
,
'Closed'
]
lists
=
[
'
Open
'
,
'To Do'
,
'Doing'
,
'Closed'
]
page
.
within
(
find
(
'.board-blank-state'
))
do
page
.
within
(
find
(
'.board-blank-state'
))
do
click_button
(
'Add default lists'
)
click_button
(
'Add default lists'
)
...
...
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