]> git.koha-community.org Git - koha.git/commit
Bug 36454: (follow-up) Tweak CSS and add restricted status output
authorOwen Leonard <oleonard@myacpl.org>
Tue, 17 Sep 2024 15:40:57 +0000 (15:40 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Mon, 21 Oct 2024 10:25:58 +0000 (12:25 +0200)
commita0cfdccebe8bb353caf4082cfb1be42f07172e09
tree0e1134cefbbf52074213fd104751474231432b4e
parent6e36604d49c101163ea44b0d8f86d24ba5d8ae01
Bug 36454: (follow-up) Tweak CSS and add restricted status output

This patch makes some tweaks to the style of the new information: We can
use the Bootstrap 5 "badge" class and "warning" style to get the
appearance we want.

This patch also adds output of the patron's restricted status if
present.

To test, apply the patch and rebuild the staff interface CSS. Perform a
patron search (from the checkout header search form for instance) and
confirm that a "restricted" badge appears alongside the branch and
expired badge.

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/js/staff-global.js