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
4 years ago
by
Sunjung Park
Committed by
Kushal Pandya
4 years ago
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
>
/* eslint-disable @gitlab/vue-require-i18n-strings */
import
{
GlButton
}
from
'
@gitlab/ui
'
;
import
{
__
}
from
'
~/locale
'
;
import
ModalFilters
from
'
./filters
'
;
import
ModalTabs
from
'
./tabs.vue
'
;
...
...
@@ -10,6 +11,7 @@ export default {
components
:
{
ModalTabs
,
ModalFilters
,
GlButton
,
},
mixins
:
[
modalMixin
],
props
:
{
...
...
@@ -39,7 +41,7 @@ export default {
},
methods
:
{
toggleAll
()
{
this
.
$refs
.
selectAllBtn
.
blur
();
this
.
$refs
.
selectAllBtn
.
$el
.
blur
();
ModalStore
.
toggleAll
();
},
...
...
@@ -51,28 +53,28 @@ export default {
<header
class=
"add-issues-header border-top-0 form-actions"
>
<h2
class=
"m-0"
>
Add issues
<button
type=
"button"
<gl-button
category=
"tertiary"
icon=
"close"
class=
"close"
data-dismiss=
"modal"
:aria-label=
"__('Close')"
@
click=
"toggleModal(false)"
>
<span
aria-hidden=
"true"
>
×
</span>
</button>
/>
</h2>
</header>
<modal-tabs
v-if=
"!loading && issuesCount > 0"
/>
<div
v-if=
"showSearch"
class=
"d-flex gl-mb-3"
>
<modal-filters
:store=
"filter"
/>
<button
<
gl-
button
ref=
"selectAllBtn"
type=
"button"
class=
"btn btn-success btn-inverted gl-ml-3"
category=
"secondary"
variant=
"success"
class=
"gl-ml-3"
@
click=
"toggleAll"
>
{{
selectAllText
}}
</button>
</
gl-
button>
</div>
</div>
</
template
>
This diff is collapsed.
Click to expand it.
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