]> git.koha-community.org Git - koha.git/commit
Bug 27773: Hide unique holidays and exceptions which have passed
authorOwen Leonard <oleonard@myacpl.org>
Wed, 24 Feb 2021 01:09:33 +0000 (01:09 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 14 Apr 2021 13:25:29 +0000 (15:25 +0200)
commit2d3bf55cdcc6619959edac8db3715e5238210e65
tree68ebab5bd98ff856371f8c12aedf7ba9bf423a21
parenta34e1f9f0d32e4cf0f282016e52166d309b25ef7
Bug 27773: Hide unique holidays and exceptions which have passed

This patch modifies the display of unique holidays and holiday
exceptions so that dates in the past are hidden by default. A
corresponding "Show past entries" checkbox can be checked to show the
hidden entries.

To test you should have some unique holidays and holiday exceptions in
your system from the past and in the future.

 - Apply the patch and go to Tools -> Calendar
 - In the tables of existing holidays, check that no dates in the past
   appear in the "Exceptions" or "Unique holidays" tables.
 - Checking the checkbox at the top of each of these tables should
   trigger the display of the hidden rows.

Signed-off-by: Pascale Nalon <pascale.nalon@ensmp.fr>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/css/calendar.css
koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt