Commit 0a40078f authored by Christie Lenneville's avatar Christie Lenneville Committed by Vitaly Slobodin

Update blank issue board to use gl components

parent 028bfb11
<script> <script>
import { GlButton } from '@gitlab/ui';
import Cookies from 'js-cookie'; import Cookies from 'js-cookie';
import { __ } from '~/locale'; import { __ } from '~/locale';
import ListLabel from '~/boards/models/label'; import ListLabel from '~/boards/models/label';
import boardsStore from '../stores/boards_store'; import boardsStore from '../stores/boards_store';
export default { export default {
components: {
GlButton,
},
data() { data() {
return { return {
predefinedLabels: [ predefinedLabels: [
...@@ -84,15 +88,17 @@ export default { ...@@ -84,15 +88,17 @@ export default {
) )
}} }}
</p> </p>
<button <gl-button
class="btn btn-success btn-inverted btn-block" category="secondary"
type="button" variant="success"
block="block"
class="gl-mb-0"
@click.stop="addDefaultLists" @click.stop="addDefaultLists"
> >
{{ s__('BoardBlankState|Add default lists') }} {{ s__('BoardBlankState|Add default lists') }}
</button> </gl-button>
<button class="btn btn-default btn-block" type="button" @click.stop="clearBlankState"> <gl-button category="secondary" variant="default" block="block" @click.stop="clearBlankState">
{{ s__("BoardBlankState|Nevermind, I'll use my own") }} {{ s__("BoardBlankState|Nevermind, I'll use my own") }}
</button> </gl-button>
</div> </div>
</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