This commit is contained in:
@@ -119,13 +119,15 @@ export default {
|
|||||||
displayLTModalNotificationMessage(
|
displayLTModalNotificationMessage(
|
||||||
tKeyText,
|
tKeyText,
|
||||||
tKeyTitle = undefined,
|
tKeyTitle = undefined,
|
||||||
ttype = "info"
|
ttype = "info",
|
||||||
|
tHelpUrl = undefined
|
||||||
) {
|
) {
|
||||||
return VM_LOCAL.$root.$gzconfirm({
|
return VM_LOCAL.$root.$gzconfirm({
|
||||||
message: tKeyText ? window.$gz.translation.get(tKeyText) : "",
|
message: tKeyText ? window.$gz.translation.get(tKeyText) : "",
|
||||||
title: tKeyTitle ? window.$gz.translation.get(tKeyTitle) : "",
|
title: tKeyTitle ? window.$gz.translation.get(tKeyTitle) : "",
|
||||||
yesButtonText: window.$gz.translation.get("OK"),
|
yesButtonText: window.$gz.translation.get("OK"),
|
||||||
type: ttype
|
type: ttype,
|
||||||
|
helpUrl: tHelpUrl
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
/////////////////////////////////////
|
/////////////////////////////////////
|
||||||
|
|||||||
@@ -33,6 +33,14 @@
|
|||||||
|
|
||||||
<v-card-actions>
|
<v-card-actions>
|
||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
|
<v-btn
|
||||||
|
:data-cy="!!$ay.dev ? 'gzconfirm:morebutton' : false"
|
||||||
|
text
|
||||||
|
v-if="options.helpUrl"
|
||||||
|
@click="helpClick()"
|
||||||
|
>
|
||||||
|
{{ this.$root.$gz.translation.get("More") }}
|
||||||
|
</v-btn>
|
||||||
<v-btn
|
<v-btn
|
||||||
v-if="options.noButtonText"
|
v-if="options.noButtonText"
|
||||||
color="primary darken-1"
|
color="primary darken-1"
|
||||||
@@ -98,6 +106,9 @@ export default {
|
|||||||
cancel() {
|
cancel() {
|
||||||
this.resolve(false);
|
this.resolve(false);
|
||||||
this.isVisible = false;
|
this.isVisible = false;
|
||||||
|
},
|
||||||
|
helpClick() {
|
||||||
|
window.open(this.options.helpUrl, "_blank");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -218,13 +218,14 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
let vm = this;
|
let vm = this;
|
||||||
|
|
||||||
(async function() {
|
// (async function() {
|
||||||
await window.$gz.dialog.displayLTModalNotificationMessage(
|
// await window.$gz.dialog.displayLTModalNotificationMessage(
|
||||||
"The support and updates subscription has now expired\nAyaNova can not be updated and support is no longer available",
|
// "MaintenanceExpiredNote",
|
||||||
"Maintenance expired",
|
// "MaintenanceExpired",
|
||||||
"error"
|
// "error",
|
||||||
);
|
// "https://www.ayanova.com/subscriptionexpired.htm"
|
||||||
})();
|
// );
|
||||||
|
// })();
|
||||||
|
|
||||||
window.$gz.eventBus.$emit("menu-change", {
|
window.$gz.eventBus.$emit("menu-change", {
|
||||||
isMain: true,
|
isMain: true,
|
||||||
@@ -272,7 +273,8 @@ export default {
|
|||||||
await window.$gz.dialog.displayLTModalNotificationMessage(
|
await window.$gz.dialog.displayLTModalNotificationMessage(
|
||||||
"MaintenanceExpiredNote",
|
"MaintenanceExpiredNote",
|
||||||
"MaintenanceExpired",
|
"MaintenanceExpired",
|
||||||
"error"
|
"error",
|
||||||
|
"https://www.ayanova.com/subscriptionexpired.htm"
|
||||||
);
|
);
|
||||||
})();
|
})();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user