From aa452ba85dae2585d02ab477d27aeecd8dd0de55 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 8 Feb 2021 11:03:17 +0100 Subject: [PATCH] Bug 8326: Add aria-disabled to li's To have the same display of "Editable in OPAC" Signed-off-by: Katrin Fischer --- .../prog/en/modules/admin/patron-attr-types.tt | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) 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 74db9cd1dd..bc91ae1365 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 @@ -77,7 +77,13 @@ Required -
  • + + [% IF attribute_type AND attribute_type.repeatable AND NOT can_be_set_to_nonrepeatable %] +
  • + [% ELSE %] +
  • + [% END %] + [% IF attribute_type %] [% IF attribute_type.repeatable AND NOT can_be_set_to_nonrepeatable %] @@ -91,8 +97,14 @@ [% END %] Check to let a patron record have multiple values of this attribute. -
  • -
  • +
  • + + [% IF attribute_type AND not can_be_set_to_unique %] +
  • + [% ELSE %] +
  • + [% END %] + [% IF attribute_type %] [% IF attribute_type.unique_id %] @@ -107,7 +119,8 @@ [% END %] If checked, attribute will be a unique identifier — if a value is given to a patron record, the same value cannot be given to a different record. -
  • + +
  • [% IF attribute_type AND attribute_type.opac_display %] -- 2.11.0