This commit is contained in:
2020-04-10 22:36:09 +00:00
parent 3505f0d0c5
commit 2cff272537
3 changed files with 61 additions and 7 deletions

View File

@@ -148,12 +148,16 @@ export default {
return ret;
}, ///////////////////////////////
// ICON FOR CORE OBJECT TYPES
//(used for search results)
//
// ICON FOR *ALL* OBJECT TYPES
//(used for search results and event log / history)
//NOTE: Any object type could appear in event log, they all need to be supported where possible
//CoreBizObject add here
iconForCoreType: function(aytype) {
iconForType: function(aytype) {
switch (aytype) {
case window.$gz.type.NoType:
return "fa-genderless";
case window.$gz.type.Global:
return "fa-globe";
case window.$gz.type.User:
return "fa-user";
case window.$gz.type.Widget:
@@ -162,6 +166,35 @@ export default {
return null;
}
}
/**
*
NoType = 0,
Global = 1,
[CoreBizObject]
Widget = 2,//attachable, wikiable, reviewable
[CoreBizObject]
User = 3,//attachable, wikiable, reviewable
ServerState = 4,fa-door-open
License = 5,
LogFile = 6,
PickListTemplate = 7,
DEPRECATED_REUSELATER_8 = 8,
JobOperations = 9,
AyaNova7Import = 10,
TrialSeeder = 11,
Metrics = 12,
Translation = 13,
UserOptions = 14,
DEPRECATED_REUSELATER_15 = 15,
DEPRECATED_REUSELATER_16 = 16,
FileAttachment = 17,
DataListView = 18,
FormCustom = 19
*/
//new functions above here
};