]> git.koha-community.org Git - koha.git/commit
Bug 12458 - Holidays calendar has wrong colors for weekly and yearly repeatable
authorFridolin Somers <fridolin.somers@biblibre.com>
Fri, 20 Jun 2014 12:54:07 +0000 (14:54 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 11 Jul 2014 06:34:14 +0000 (08:34 +0200)
commitee0b57d7d043406fa8022679637241d3424327e6
treee83be706d6752c33ff3e0b89256db93bcb7d212a
parent9a1b64c5183c3c37e13682636d4c944cf9f2cf0d
Bug 12458 - Holidays calendar has wrong colors for weekly and yearly repeatable

In Tools / Calendar, the colors in the calendar for weekly and yearly repeatable are different from the color of the "Key" legend.

This patch sets the colors used in the "Key" legend to the cells if calendar.

Test plan :
- Go to Tools/Calendar
- Add a weekly repeatable holiday
- Check its color in calendar is the same as the text "Holiday repeating weekly"
=> Without this patch, it's green instead of yellow
- Add a yearly repeatable holiday
- Check its color in calendar is the same as the text "Holiday repeating yearly"
=> Without this patch, it's yellow instead of orange
- Check the color of others holydays types are OK

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
I'd like to see today's date a clearly different color from the
weekly repeated holiday, because now they're close in color.
But this patch does exactly what it says and should so I'm signing
off.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Legend, headings and calendar colors now match.
No problems found.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 2e18152e39198e92cf7411851598760490fb4803)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt