Commit e5d398ec authored by Martin Wortschack's avatar Martin Wortschack

Merge branch '229286-issueboards-modal-footer' into 'master'

Migrate Bootstrap button to GlButton in boards modal - footer

Closes #229286

See merge request gitlab-org/gitlab!41152
parents edbeb57b 9d5c2411
<script> <script>
import { GlButton } from '@gitlab/ui';
import footerEEMixin from 'ee_else_ce/boards/mixins/modal_footer'; import footerEEMixin from 'ee_else_ce/boards/mixins/modal_footer';
import { deprecatedCreateFlash as Flash } from '../../../flash'; import { deprecatedCreateFlash as Flash } from '../../../flash';
import { __, n__ } from '../../../locale'; import { __, n__ } from '../../../locale';
...@@ -10,6 +11,7 @@ import boardsStore from '../../stores/boards_store'; ...@@ -10,6 +11,7 @@ import boardsStore from '../../stores/boards_store';
export default { export default {
components: { components: {
ListsDropdown, ListsDropdown,
GlButton,
}, },
mixins: [modalMixin, footerEEMixin], mixins: [modalMixin, footerEEMixin],
data() { data() {
...@@ -65,14 +67,14 @@ export default { ...@@ -65,14 +67,14 @@ export default {
<template> <template>
<footer class="form-actions add-issues-footer"> <footer class="form-actions add-issues-footer">
<div class="float-left"> <div class="float-left">
<button :disabled="submitDisabled" class="btn btn-success" type="button" @click="addIssues"> <gl-button :disabled="submitDisabled" category="primary" variant="success" @click="addIssues">
{{ submitText }} {{ submitText }}
</button> </gl-button>
<span class="inline add-issues-footer-to-list">{{ __('to list') }}</span> <span class="inline add-issues-footer-to-list">{{ __('to list') }}</span>
<lists-dropdown /> <lists-dropdown />
</div> </div>
<button class="btn btn-default float-right" type="button" @click="toggleModal(false)"> <gl-button class="float-right" @click="toggleModal(false)">
{{ __('Cancel') }} {{ __('Cancel') }}
</button> </gl-button>
</footer> </footer>
</template> </template>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment