From 6018adbc650360cb624787e3e373d2d22d891b81 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 (cherry picked from commit 1944c66fc03e0e661745ece4bbc04e0607dd6def) Signed-off-by: Fridolin Somers (cherry picked from commit 2d96b55f32771965dcfba6c135d57e4adf17e817) Signed-off-by: Pedro Amorim --- .../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 55c6137310..daf8e112f6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1529,8 +1529,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. @@ -1573,7 +1573,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.20.1