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
0a40078f
Commit
0a40078f
authored
Sep 14, 2020
by
Christie Lenneville
Committed by
Vitaly Slobodin
Sep 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update blank issue board to use gl components
parent
028bfb11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
app/assets/javascripts/boards/components/board_blank_state.vue
...ssets/javascripts/boards/components/board_blank_state.vue
+12
-6
No files found.
app/assets/javascripts/boards/components/board_blank_state.vue
View file @
0a40078f
<
script
>
import
{
GlButton
}
from
'
@gitlab/ui
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
__
}
from
'
~/locale
'
;
import
ListLabel
from
'
~/boards/models/label
'
;
import
boardsStore
from
'
../stores/boards_store
'
;
export
default
{
components
:
{
GlButton
,
},
data
()
{
return
{
predefinedLabels
:
[
...
...
@@ -84,15 +88,17 @@ export default {
)
}}
</p>
<button
class=
"btn btn-success btn-inverted btn-block"
type=
"button"
<gl-button
category=
"secondary"
variant=
"success"
block=
"block"
class=
"gl-mb-0"
@
click.stop=
"addDefaultLists"
>
{{
s__
(
'
BoardBlankState|Add default lists
'
)
}}
</button>
<
button
class=
"btn btn-default btn-block"
type=
"button
"
@
click.stop=
"clearBlankState"
>
</
gl-
button>
<
gl-button
category=
"secondary"
variant=
"default"
block=
"block
"
@
click.stop=
"clearBlankState"
>
{{
s__
(
"
BoardBlankState|Nevermind, I'll use my own
"
)
}}
</button>
</
gl-
button>
</div>
</
template
>
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