]> git.koha-community.org Git - koha.git/commit
Bug 26053: Distinguish expired patron restrictions
authorFridolin Somers <fridolin.somers@biblibre.com>
Thu, 21 Sep 2023 22:12:46 +0000 (12:12 -1000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 10 Oct 2023 12:58:55 +0000 (09:58 -0300)
commit79be5f361bfc77a9767511d5965e4ed9f4598f4b
tree68383998f3f07ba3a3bc9331f630e6e22f6e3e34
parent5b25b26f70c21c609793f10706c04c9dbce4a5ad
Bug 26053: Distinguish expired patron restrictions

On the patron detail page, in restrictions table to show that the restriction has expired.
With text and a grey color line.
Uses 'text-muted' boostrap class (already used in OPAC).

Test plan :
1) Go to a patron details page cgi-bin/koha/members/moremember.pl
2) Create 2 restrictions in the future
3) Edit in database to se the first restriction into the past
4) Create a retriction without date
5) Check you see on expired line text : (expired)
6) Check line is grey

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Patron/Restriction.pm
koha-tmpl/intranet-tmpl/prog/en/includes/patron-restrictions-tab.inc