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
4fffba15
Commit
4fffba15
authored
Aug 31, 2020
by
Sunjung Park
Committed by
Kushal Pandya
Aug 31, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate Bootstrap button to GlButton in boards modal
parent
77c218a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
app/assets/javascripts/boards/components/modal/header.vue
app/assets/javascripts/boards/components/modal/header.vue
+12
-10
No files found.
app/assets/javascripts/boards/components/modal/header.vue
View file @
4fffba15
<
script
>
<
script
>
/* eslint-disable @gitlab/vue-require-i18n-strings */
/* eslint-disable @gitlab/vue-require-i18n-strings */
import
{
GlButton
}
from
'
@gitlab/ui
'
;
import
{
__
}
from
'
~/locale
'
;
import
{
__
}
from
'
~/locale
'
;
import
ModalFilters
from
'
./filters
'
;
import
ModalFilters
from
'
./filters
'
;
import
ModalTabs
from
'
./tabs.vue
'
;
import
ModalTabs
from
'
./tabs.vue
'
;
...
@@ -10,6 +11,7 @@ export default {
...
@@ -10,6 +11,7 @@ export default {
components
:
{
components
:
{
ModalTabs
,
ModalTabs
,
ModalFilters
,
ModalFilters
,
GlButton
,
},
},
mixins
:
[
modalMixin
],
mixins
:
[
modalMixin
],
props
:
{
props
:
{
...
@@ -39,7 +41,7 @@ export default {
...
@@ -39,7 +41,7 @@ export default {
},
},
methods
:
{
methods
:
{
toggleAll
()
{
toggleAll
()
{
this
.
$refs
.
selectAllBtn
.
blur
();
this
.
$refs
.
selectAllBtn
.
$el
.
blur
();
ModalStore
.
toggleAll
();
ModalStore
.
toggleAll
();
},
},
...
@@ -51,28 +53,28 @@ export default {
...
@@ -51,28 +53,28 @@ export default {
<header
class=
"add-issues-header border-top-0 form-actions"
>
<header
class=
"add-issues-header border-top-0 form-actions"
>
<h2
class=
"m-0"
>
<h2
class=
"m-0"
>
Add issues
Add issues
<button
<gl-button
type=
"button"
category=
"tertiary"
icon=
"close"
class=
"close"
class=
"close"
data-dismiss=
"modal"
data-dismiss=
"modal"
:aria-label=
"__('Close')"
:aria-label=
"__('Close')"
@
click=
"toggleModal(false)"
@
click=
"toggleModal(false)"
>
/>
<span
aria-hidden=
"true"
>
×
</span>
</button>
</h2>
</h2>
</header>
</header>
<modal-tabs
v-if=
"!loading && issuesCount > 0"
/>
<modal-tabs
v-if=
"!loading && issuesCount > 0"
/>
<div
v-if=
"showSearch"
class=
"d-flex gl-mb-3"
>
<div
v-if=
"showSearch"
class=
"d-flex gl-mb-3"
>
<modal-filters
:store=
"filter"
/>
<modal-filters
:store=
"filter"
/>
<button
<
gl-
button
ref=
"selectAllBtn"
ref=
"selectAllBtn"
type=
"button"
category=
"secondary"
class=
"btn btn-success btn-inverted gl-ml-3"
variant=
"success"
class=
"gl-ml-3"
@
click=
"toggleAll"
@
click=
"toggleAll"
>
>
{{
selectAllText
}}
{{
selectAllText
}}
</button>
</
gl-
button>
</div>
</div>
</div>
</div>
</
template
>
</
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