]> git.koha-community.org Git - koha.git/commit
Bug 29478: Flatpickr - Restore 'Today' button
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 15 Nov 2021 09:59:08 +0000 (10:59 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 22 Nov 2021 10:48:46 +0000 (11:48 +0100)
commit622b4c019b5c1078affacfa24e07edd68a2cb6e9
treea75aad17da0d41997018b39d60b1fc5cce73d1eb
parent6cc3e618d84c85ed353392006fc06ed094b46f27
Bug 29478: Flatpickr - Restore 'Today' button

It's not implemented, looks like we need to use a plugin for that

https://github.com/flatpickr/flatpickr/issues/576

https://github.com/jcsmorais/shortcut-buttons-flatpickr

Test plan:
Confirm that flatpickr instances now have a yesterday, today and
tomorrow buttons.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/lib/flatpickr/shortcut-buttons-flatpickr.min.js [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc