Koha/koha-tmpl/opac-tmpl/bootstrap
Marcel de Rooy 0a471bfeda
Bug 31503: Make opac-patron-consent more generic
Adds $patron->consent and $consents->available_types.
Incorporates them into script/template.
Provides two unit tests.

Note: A follow-up patch helps you test this with an
example plugin.

Test plan:
Run t/db_dependent/Koha/Patron.t
Run t/db_dependent/Koha/Patron/Consents.t
Toggle the value of pref PrivacyPolicyConsent and look at
OPAC account, tab Consents.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-25 10:35:20 -03:00
..
css Bug 34849: Use template wrapper for breadcrumbs: OPAC part 1 2023-10-18 10:25:58 -03:00
en Bug 31503: Make opac-patron-consent more generic 2023-10-25 10:35:20 -03:00
images Bug 29036: (follow-up) Improve the use of variables to keep colors consistent 2021-12-01 21:38:12 -10:00
itemtypeimg Bug 27523: (follow-up) Add copy of image to carredart in the OPAC 2021-08-18 16:28:25 +02:00
js Bug 35081: Make it possible to translate catalog concern status messages 2023-10-20 11:02:53 -03:00
lib/jquery Bug 32341: (Fix) Changing the placement of the button 2023-06-08 08:32:43 -03:00