This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
v-model="isVisible"
|
||||
:max-width="options.width"
|
||||
@keydown.esc="cancel"
|
||||
data-cy="gzconfirm"
|
||||
>
|
||||
<v-card elevation="24">
|
||||
<v-card-title class="headline lighten-2" primary-title>
|
||||
@@ -46,11 +47,16 @@
|
||||
color="primary darken-1"
|
||||
text
|
||||
@click.native="cancel"
|
||||
data-cy="gzconfirm:nobutton"
|
||||
>{{ options.noButtonText }}</v-btn
|
||||
>
|
||||
<v-btn color="primary darken-1" text @click.native="agree">{{
|
||||
options.yesButtonText
|
||||
}}</v-btn>
|
||||
<v-btn
|
||||
color="primary darken-1"
|
||||
text
|
||||
@click.native="agree"
|
||||
data-cy="gzconfirm:yesbutton"
|
||||
>{{ options.yesButtonText }}</v-btn
|
||||
>
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
</v-dialog>
|
||||
|
||||
@@ -1,10 +1,19 @@
|
||||
<template>
|
||||
<!-- <v-scale-transition> -->
|
||||
<v-snackbar :value="isVisible" :color="currentNotification.type">
|
||||
<v-snackbar
|
||||
data-cy="gznotify"
|
||||
:value="isVisible"
|
||||
:color="currentNotification.type"
|
||||
>
|
||||
<v-alert :type="currentNotification.type" mode="out-in">
|
||||
{{ currentNotification.message }}
|
||||
</v-alert>
|
||||
<v-btn text v-if="currentNotification.helpUrl" @click="helpClick()">
|
||||
<v-btn
|
||||
data-cy="gznotify:morebutton"
|
||||
text
|
||||
v-if="currentNotification.helpUrl"
|
||||
@click="helpClick()"
|
||||
>
|
||||
{{ this.$root.$gz.translation.get("More") }}
|
||||
</v-btn>
|
||||
</v-snackbar>
|
||||
|
||||
Reference in New Issue
Block a user