This commit is contained in:
@@ -75,14 +75,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.translation.get("Attachments"),
|
||||
// title: "Attachments"),
|
||||
// icon: "fa-paperclip",
|
||||
// key: "app:attachments",
|
||||
// data: { ayaType: formAyaType, recordId: formRecordId }
|
||||
// });
|
||||
|
||||
// vm.appBar.menuItems.push({
|
||||
// title: window.$gz.translation.get("WikiPage"),
|
||||
// title: "WikiPage"),
|
||||
// icon: "fa-feather",
|
||||
// key: "app:wiki",
|
||||
// data: { ayaType: formAyaType, recordId: formRecordId }
|
||||
@@ -92,7 +92,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.translation.get("Review"),
|
||||
title: "Review",
|
||||
icon: "fa-calendar-check",
|
||||
key: "app:review",
|
||||
data: { ayaType: formAyaType, recordId: formRecordId }
|
||||
@@ -101,7 +101,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.translation.get("History"),
|
||||
title: "History",
|
||||
icon: "fa-history",
|
||||
key: "app:history",
|
||||
data: { ayaType: formAyaType, recordId: formRecordId }
|
||||
@@ -111,7 +111,7 @@ export default {
|
||||
//PLUGINS - for anything with a type but not necessarily an ID
|
||||
if (!UTILITY_TYPES.includes(formAyaType)) {
|
||||
vm.appBar.menuItems.push({
|
||||
title: window.$gz.translation.get("More"),
|
||||
title: "More",
|
||||
icon: "fa-puzzle-piece",
|
||||
key: "app:plugin",
|
||||
data: formAyaType,
|
||||
@@ -138,7 +138,7 @@ export default {
|
||||
// vm.appBar.menuItems.push({ divider: true, inset: false });
|
||||
//customize
|
||||
vm.appBar.menuItems.push({
|
||||
title: window.$gz.translation.get("Customize"),
|
||||
title: "Customize",
|
||||
icon: "fa-sliders-h",
|
||||
data: ctx.formData.formCustomTemplateKey,
|
||||
key: "app:customize"
|
||||
@@ -161,7 +161,7 @@ export default {
|
||||
if (!ctx.hideSearch && !UTILITY_TYPES.includes(formAyaType)) {
|
||||
//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.translation.get("Search"),
|
||||
title: "Search",
|
||||
icon: "fa-search",
|
||||
key: "app:search",
|
||||
data: formAyaType
|
||||
@@ -170,7 +170,7 @@ export default {
|
||||
|
||||
//HELP
|
||||
vm.appBar.menuItems.push({
|
||||
title: window.$gz.translation.get("MenuHelp"),
|
||||
title: "MenuHelp",
|
||||
icon: "fa-question-circle",
|
||||
key: "app:help",
|
||||
data: vm.appBar.helpUrl
|
||||
@@ -179,7 +179,7 @@ export default {
|
||||
//ABOUT
|
||||
if (!isCoreBizObject && !ctx.helpUrl != "form-ay-about") {
|
||||
vm.appBar.menuItems.push({
|
||||
title: window.$gz.translation.get("HelpAboutAyaNova"),
|
||||
title: "HelpAboutAyaNova",
|
||||
icon: "fa-info-circle",
|
||||
key: "app:nav:abt",
|
||||
data: "ay-about"
|
||||
|
||||
Reference in New Issue
Block a user