https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29478
Martin Renvoize <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #127891|0 |1 is obsolete| | --- Comment #22 from Martin Renvoize <[email protected]> --- Created attachment 127921 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127921&action=edit Bug 29478: (follow-up) Provide default style for shortcut buttons This patch adds some CSS to _flatpickr.scss in order to give a deafult style to the "yesterday," "today," and "tomorrow" controls added by the shortcut plugin. A missed translatable string is now wrapped in the __() function: __("or"). The patch also updates the date calculation for those shortcuts to use Flatpickr's date calculation shorthand. This isn't strictly necessary but I think it makes the code more readable. To test, apply the patch and build the staff interface CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). In the staff client, view some pages with date-picker widgets. A calendar widget time selection: - Circulation -> Check out -> Checkout settings -> Select date: - The calendar widget should have "yesterday," "today," and "tomorrow" controls styled like links appearing after the time selector. The controls should be centered, with the "or" label on the same line. A calendar widget without time selection: - Tools -> Log viewer -> Display from. Signed-off-by: David Nind <[email protected]> Signed-off-by: Martin Renvoize <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
