This commit is contained in:
2020-03-06 20:08:50 +00:00
parent 7318a33350
commit 17bf519cb0
79 changed files with 331 additions and 309 deletions

View File

@@ -55,14 +55,14 @@ export default {
//there will be few exceptions so they will be coded in later if needed but assume anything with an id and a type
if (isCoreBizObject) {
vm.appBar.menuItems.push({
title: window.$gz.locale.get("Attachments"),
title: window.$gz.translation.get("Attachments"),
icon: "paperclip",
key: "app:attachments",
data: { ayaType: formAyaType, recordId: formRecordId }
});
vm.appBar.menuItems.push({
title: window.$gz.locale.get("WikiPage"),
title: window.$gz.translation.get("WikiPage"),
icon: "feather",
key: "app:wiki",
data: { ayaType: formAyaType, recordId: formRecordId }
@@ -72,7 +72,7 @@ export default {
//basically it's now a "Reminder" type of object but it's own thing with separate collection
vm.appBar.menuItems.push({
title: window.$gz.locale.get("Review"),
title: window.$gz.translation.get("Review"),
icon: "calendar-check",
key: "app:review",
data: { ayaType: formAyaType, recordId: formRecordId }
@@ -81,7 +81,7 @@ export default {
//AFAIK right now any item with an id and a type can have a history
//anything not would be the exception rather than the rule
vm.appBar.menuItems.push({
title: window.$gz.locale.get("History"),
title: window.$gz.translation.get("History"),
icon: "history",
key: "app:history",
data: { ayaType: formAyaType, recordId: formRecordId }
@@ -89,7 +89,7 @@ export default {
}
//CUSTOMIZE
//set custom fields and link to locale text editor
//set custom fields and link to translation text editor
if (
ctx.formData &&
@@ -106,7 +106,7 @@ export default {
vm.appBar.menuItems.push({ divider: true, inset: false });
//customize
vm.appBar.menuItems.push({
title: window.$gz.locale.get("Customize"),
title: window.$gz.translation.get("Customize"),
icon: "sliders-h",
data: ctx.formData.formCustomTemplateKey,
key: "app:customize"
@@ -128,7 +128,7 @@ export default {
if (isCoreBizObject && ctx.icon != "fa-search") {
//For all forms but not on the search form itself; if this is necessary for others then make a nosearch or something flag controlled by incoming ctx but if not then this should suffice
vm.appBar.menuItems.push({
title: window.$gz.locale.get("Search"),
title: window.$gz.translation.get("Search"),
icon: "search",
key: "app:search",
data: formAyaType
@@ -137,7 +137,7 @@ export default {
//HELP
vm.appBar.menuItems.push({
title: window.$gz.locale.get("MenuHelp"),
title: window.$gz.translation.get("MenuHelp"),
icon: "question-circle",
key: "app:help",
data: vm.appBar.helpUrl
@@ -146,7 +146,7 @@ export default {
//ABOUT
if (ctx.helpUrl != "form-ay-about") {
vm.appBar.menuItems.push({
title: window.$gz.locale.get("HelpAboutAyaNova"),
title: window.$gz.translation.get("HelpAboutAyaNova"),
icon: "info-circle",
key: "app:nav:abt",
data: "ay-about"
@@ -155,7 +155,7 @@ export default {
//LOGOUT
vm.appBar.menuItems.push({
title: window.$gz.locale.get("Logout"),
title: window.$gz.translation.get("Logout"),
icon: "sign-out-alt",
key: "app:logout"
});