From ddb19cb1984a0be9aedb453b721165ef266327f9 Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Fri, 15 Nov 2019 10:03:46 +0100 Subject: [PATCH] added event --- db/changes/10110-postCampaign/00-department_doCalc.sql | 3 +++ modules/worker/front/calendar/index.html | 6 ------ modules/worker/front/calendar/index.js | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) create mode 100644 db/changes/10110-postCampaign/00-department_doCalc.sql diff --git a/db/changes/10110-postCampaign/00-department_doCalc.sql b/db/changes/10110-postCampaign/00-department_doCalc.sql new file mode 100644 index 0000000000..7adeb30f04 --- /dev/null +++ b/db/changes/10110-postCampaign/00-department_doCalc.sql @@ -0,0 +1,3 @@ +USE `vn`; + +CREATE DEFINER=`root`@`%` EVENT `department_doCalc` ON SCHEDULE EVERY 15 SECOND STARTS '2019-11-15 00:00:00' ON COMPLETION PRESERVE ENABLE DO CALL vn.department_doCalc \ No newline at end of file diff --git a/modules/worker/front/calendar/index.html b/modules/worker/front/calendar/index.html index 3b361d6a61..08b3f469ce 100644 --- a/modules/worker/front/calendar/index.html +++ b/modules/worker/front/calendar/index.html @@ -32,12 +32,6 @@ {{absenceType.name}} - - - - My longer overflowing absence type in chip - \ No newline at end of file diff --git a/modules/worker/front/calendar/index.js b/modules/worker/front/calendar/index.js index 38c147ec7c..1860f6bdd6 100644 --- a/modules/worker/front/calendar/index.js +++ b/modules/worker/front/calendar/index.js @@ -100,7 +100,7 @@ class Controller { let dayNumber = element.firstElementChild; dayNumber.title = event.name; dayNumber.style.backgroundColor = event.color; - dayNumber.style.color = 'white'; + dayNumber.style.color = 'rgba(0, 0, 0, 0.7)'; } } Controller.$inject = ['$element', '$http'];