This commit is contained in:
2020-06-14 15:58:48 +00:00
parent 8f610a52a5
commit fa0ee0dc24

View File

@@ -98,7 +98,6 @@
class="mt-4 mr-4" class="mt-4 mr-4"
>{{ $ay.t("PurchaseLicense") }}</v-btn >{{ $ay.t("PurchaseLicense") }}</v-btn
> >
<v-btn @click="fetchKey()" class="mt-4">{{ <v-btn @click="fetchKey()" class="mt-4">{{
$ay.t("CheckForLicense") $ay.t("CheckForLicense")
}}</v-btn> }}</v-btn>
@@ -114,6 +113,19 @@
issue If you have a backup Link to restore docs If you'd issue If you have a backup Link to restore docs If you'd
like to start fresh contact to request license be freed up like to start fresh contact to request license be freed up
again again
<!-- Future purchase in app but for now -->
<v-col cols="12">
<v-btn @click="helpRestoreData()" class="mt-4 mr-4">{{
$ay.t("HelpRestore")
}}</v-btn>
<v-btn @click="helpReleaseKey()" class="mt-4 mr-4">{{
$ay.t("HelpReleaseKey")
}}</v-btn>
<v-btn @click="fetchKey()" class="mt-4">{{
$ay.t("CheckForLicense")
}}</v-btn>
</v-col>
</v-expansion-panel-content> </v-expansion-panel-content>
</v-expansion-panel> </v-expansion-panel>
</v-expansion-panels> </v-expansion-panels>
@@ -224,6 +236,18 @@ export default {
this.currentLicenseInfo.serverDbId this.currentLicenseInfo.serverDbId
); );
}, },
helpRestore() {
window.$gz.eventBus.$emit("menu-click", {
key: "app:help",
data: "ops-restore"
});
},
helpReleaseKey() {
window.$gz.eventBus.$emit("menu-click", {
key: "app:help",
data: "ops-request-key-release"
});
},
showLicenseUi() { showLicenseUi() {
/* public enum LicenseStatus /* public enum LicenseStatus
{ {
@@ -451,9 +475,11 @@ function fetchTranslatedText(vm) {
"RequestEvaluationLicense", "RequestEvaluationLicense",
"LicenseEmailVerficationHint", "LicenseEmailVerficationHint",
"EvaluationRequestReceived", "EvaluationRequestReceived",
"AdminEraseDatabaseWarning", //preexisting "AdminEraseDatabaseWarning",
"NewLicenseInstalled", "NewLicenseInstalled",
"NewLicenseNotFound" "NewLicenseNotFound",
"HelpReleaseKey",
"HelpRestore"
]); ]);
} }