From aac26563f70bafe9682457ee9cd0f76b9e1fd057 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 27 Nov 2019 16:43:00 +0100 Subject: [PATCH] Bug 24151: Adding keep_for_anonymized to the UI Sponsored-by: Association KohaLa - https://koha-fr.org/ --- .../prog/en/modules/admin/patron-attr-types.tt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt index 076c1737ca..fe4a1a9105 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt @@ -1,5 +1,6 @@ [% USE raw %] [% USE Asset %] +[% USE Koha %] [% USE AuthorisedValues %] [% USE Branches %] [% USE scalar %] @@ -135,6 +136,18 @@ Check to show this attribute in patron check-out. + [% IF Koha.Preference('Pseudonymization') %] +
  • + + [% IF attribute_type AND attribute_type.keep_for_anonymized %] + + [% ELSE %] + + [% END %] + Check to make this attribute copied to the patron's pseudonymized attributes. +
  • + [% END %] +