From 1944c66fc03e0e661745ece4bbc04e0607dd6def Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 12 Oct 2023 22:14:10 +0000 Subject: [PATCH] Bug 34931: Remove fieldset/legend in favor of div/h3 1. Create some PA_CLASS authorized values. 2. Create some custom patron attributes and add them to the newly created PA_CLASS's. 3. Set CollapseFieldsPatronAddForm to collapse 'Additional attributes and identifiers'. 4. Go to a new or existing patron record. 5. At the top of the page click the checkbox for "Show collapsed fields:". 6. Scroll down to that section and notice the PA_CLASS element is shown but not the individual patron attributes within that PA_CLASS. 7. Apply patch 8. Try again, the Additional attributes and identifiers fieldset should display properly. Signed-off-by: Brendan Lawlor Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index 007e101206..88df5fe58d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1554,8 +1554,8 @@ legend:hover { [% FOREACH pa_loo IN patron_attributes %]
    [% IF pa_loo.class %] -
    - [% pa_loo.lib | html %] +
    +

    [% pa_loo.lib | html %]

    [% END %] [% FOREACH patron_attribute IN pa_loo.items %]
  1. @@ -1598,7 +1598,7 @@ legend:hover { [% IF patron_attribute.mandatory %]Required[% END %]
  2. [% END # /FOREACH patron_attribute %] - [% IF pa_loo.class %]
    [% END %] + [% IF pa_loo.class %][% END %]
[% END # /FOREACH pa_loo %] -- 2.39.5