This commit is contained in:
@@ -227,12 +227,16 @@ export default {
|
||||
getIconColorForEvent(event) {
|
||||
switch (event) {
|
||||
case 0:
|
||||
case 5:
|
||||
return "red lighten-2";
|
||||
case 1:
|
||||
case 4:
|
||||
case 10:
|
||||
return "green lighten-2";
|
||||
//attachments all purple to distinguish when looking at object's history
|
||||
case 4:
|
||||
case 5:
|
||||
case 6:
|
||||
case 11:
|
||||
return "purple lighten-2";
|
||||
default:
|
||||
return "primary lighten-2";
|
||||
}
|
||||
@@ -444,7 +448,8 @@ function populateEventTypeList(vm) {
|
||||
name: vm.$ay.t("EventServerStateChange"),
|
||||
icon: "fa-plus"
|
||||
},
|
||||
10: { name: vm.$ay.t("EventSeedDatabase"), icon: "fa-plus" }
|
||||
10: { name: vm.$ay.t("EventSeedDatabase"), icon: "fa-plus" },
|
||||
11: { name: vm.$ay.t("EventAttachmentModified"), icon: "fa-save" }
|
||||
};
|
||||
}
|
||||
|
||||
@@ -461,6 +466,7 @@ function fetchTranslatedText(vm) {
|
||||
"EventAttachmentCreate",
|
||||
"EventAttachmentDelete",
|
||||
"EventAttachmentDownload",
|
||||
"EventAttachmentModified",
|
||||
"EventLicenseFetch",
|
||||
"EventLicenseTrialRequest",
|
||||
"EventServerStateChange",
|
||||
|
||||
Reference in New Issue
Block a user