From 9bdfee1e579269b2fcafbdbbdcb1e0e5fd798684 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 23 Apr 2020 20:54:06 +0000 Subject: [PATCH] --- ayanova/src/views/ay-history.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ayanova/src/views/ay-history.vue b/ayanova/src/views/ay-history.vue index 8679f298..64f2d440 100644 --- a/ayanova/src/views/ay-history.vue +++ b/ayanova/src/views/ay-history.vue @@ -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",