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