re-factor / cleanup
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<template>
|
||||
<div class="text-center">
|
||||
<v-dialog
|
||||
persistent
|
||||
v-model="isVisible"
|
||||
persistent
|
||||
:max-width="maxWidth"
|
||||
:width="width"
|
||||
@keydown.esc="cancel"
|
||||
data-cy="gzconfirm"
|
||||
@keydown.esc="cancel"
|
||||
>
|
||||
<v-card elevation="24">
|
||||
<v-card-title class="text-h6 text-sm-h5 grey lighten-4">
|
||||
@@ -37,9 +37,9 @@
|
||||
<v-card-actions>
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn
|
||||
v-if="options.helpUrl"
|
||||
data-cy="gzconfirm:morebutton"
|
||||
text
|
||||
v-if="options.helpUrl"
|
||||
@click="helpClick()"
|
||||
>
|
||||
{{ this.$root.$gz.translation.get("More") }}
|
||||
@@ -48,15 +48,15 @@
|
||||
v-if="options.noButtonText"
|
||||
color="primary"
|
||||
text
|
||||
@click.native="cancel"
|
||||
data-cy="gzconfirm:nobutton"
|
||||
@click.native="cancel"
|
||||
>{{ options.noButtonText }}</v-btn
|
||||
>
|
||||
<v-btn
|
||||
color="primary"
|
||||
text
|
||||
@click.native="agree"
|
||||
data-cy="gzconfirm:yesbutton"
|
||||
@click.native="agree"
|
||||
>{{ options.yesButtonText }}</v-btn
|
||||
>
|
||||
</v-card-actions>
|
||||
|
||||
Reference in New Issue
Block a user