added "dire" mode to warning dialog and use it with license erase db
This commit is contained in:
@@ -823,6 +823,7 @@ BUILD 8.0.0-beta.1-rc4 CHANGES OF NOTE
|
||||
- Updated database erase code to include recent tables added and some missing ones include dashboard template
|
||||
- Updated database erase code to erase all reports and return to stock ones on erase database
|
||||
- updated docs for notification system daily ping health check type to mention it also will be sent any time server is restarted
|
||||
- changed warning dialogs for erase database to have "dire" mode with more skulls and crossbones and prominent red button
|
||||
- case 4121 fixed unable to open ops notification settings, fixed incorrect translation key
|
||||
- case 4123 fixed missing / wrong translation keys
|
||||
- case 4124 implemented
|
||||
@@ -838,5 +839,4 @@ BUILD 8.0.0-beta.1-rc4 CHANGES OF NOTE
|
||||
- case 4139 see notes, not reproducible here
|
||||
- case 4140 n.r., but likely fixed by change see case notes
|
||||
- case 4141 implemented for both back end, front end and also for v8-migrate (was not tracking user before)
|
||||
|
||||
- case 4142 updated docs
|
||||
@@ -25,6 +25,9 @@
|
||||
<template v-if="options.type == 'error'">
|
||||
<v-icon large color="error">$ayiExclamationTriangle</v-icon>
|
||||
</template>
|
||||
<template v-if="options.type == 'dire'">
|
||||
<v-icon large color="error">$ayiSkullCrossbones</v-icon>
|
||||
</template>
|
||||
<span v-if="options.title" class="ml-5"> {{ options.title }} </span>
|
||||
</v-card-title>
|
||||
<!-- eslint-disable vue/no-v-html -->
|
||||
@@ -52,7 +55,21 @@
|
||||
@click.native="cancel"
|
||||
>{{ options.noButtonText }}</v-btn
|
||||
>
|
||||
|
||||
<v-btn
|
||||
v-if="options.type == 'dire'"
|
||||
class="ml-4"
|
||||
color="error"
|
||||
data-cy="gzconfirm:yesbutton"
|
||||
@click.native="agree"
|
||||
>
|
||||
<v-icon left>$ayiSkullCrossbones</v-icon
|
||||
>{{ options.yesButtonText }}
|
||||
<v-icon right>$ayiSkullCrossbones</v-icon></v-btn
|
||||
>
|
||||
|
||||
<v-btn
|
||||
v-else
|
||||
color="primary"
|
||||
text
|
||||
data-cy="gzconfirm:yesbutton"
|
||||
|
||||
@@ -464,7 +464,7 @@ export default {
|
||||
if (this.dbIsEmpty != true) {
|
||||
let dialogResult = await window.$gz.dialog.confirmGeneric(
|
||||
"AdminEraseDatabaseWarning",
|
||||
"warning"
|
||||
"dire"
|
||||
);
|
||||
if (dialogResult == false) {
|
||||
return;
|
||||
@@ -472,7 +472,7 @@ export default {
|
||||
|
||||
dialogResult = await window.$gz.dialog.confirmGeneric(
|
||||
"AdminEraseDatabaseLastWarning",
|
||||
"error"
|
||||
"dire"
|
||||
);
|
||||
if (dialogResult == false) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user