This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
//AyaNova Translation related utilities
|
||||
export default {
|
||||
get(key) {
|
||||
//no translation for Wiki
|
||||
if (key == "Wiki") {
|
||||
return "Wiki";
|
||||
}
|
||||
if (!window.$gz._.has(window.$gz.store.state.translationText, key)) {
|
||||
return "??" + key;
|
||||
}
|
||||
|
||||
@@ -813,12 +813,6 @@ export default {
|
||||
/**
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
todo: Add wiki field to form defintions at server so can hide or show in form customization
|
||||
- Also for dataLists? (for reporting not grid I mean)
|
||||
|
||||
todo: event log type just for edit wiki?
|
||||
- this is because a wiki is not a discrete object in v8 so rights follow object itself and maybe it's necessary to know when wiki was edited?
|
||||
- or is this more important than some other events? Not sure.
|
||||
|
||||
@@ -204,8 +204,8 @@
|
||||
@input="fieldValueChanged('customFields')"
|
||||
></gz-custom-fields>
|
||||
</v-col>
|
||||
<!-- Show the wiki unless hidden by form customization or not read only, or if it has content -->
|
||||
<v-col v-if="form().showMe(this, 'wiki')" cols="12">
|
||||
|
||||
<v-col v-if="form().showMe(this, 'Wiki')" cols="12">
|
||||
<gz-wiki
|
||||
ref="wiki"
|
||||
v-model="obj.wiki"
|
||||
|
||||
Reference in New Issue
Block a user