From 56f469e858eadbf369273777e7bc761324f6af08 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 29 Oct 2018 19:23:53 -0300 Subject: [PATCH] Bug 21080: Fix patron's attributes display when PA_CLASS is used When a patron attribute class (AV PA_CLASS) is created, the patron's edit view is broken: https://screenshots.firefox.com/62uNhoUtH6rPXm9l/pro.kohadev.org To recreate: 1. Create 1+ authorised values PA_CLASS 2. Create patron's attributes using it 3. Edit a patron it depends on the order of the fieldset and the ol elements This is certainly not the best fix but the display does not look broken! Signed-off-by: Andrew Isherwood Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens (cherry picked from commit 559e051bb9eecbc92f63aa2941caea6ee373fe0e) Signed-off-by: Martin Renvoize (cherry picked from commit 2b746513b4c2454ccc594510c277c059b56a8797) Signed-off-by: Fridolin Somers --- .../prog/en/modules/members/memberentrygen.tt | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 c0b279614e..beab664fa4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1133,11 +1133,11 @@ $(document).ready(function() { Additional attributes and identifiers [% FOREACH pa_loo IN patron_attributes %] - [% IF pa_loo.class %] -
- [% pa_loo.lib %] - [% END %]
    + [% IF pa_loo.class %] +
    + [% pa_loo.lib | html %] + [% END %] [% FOREACH patron_attribute IN pa_loo.items %]
  1. @@ -1166,8 +1166,8 @@ $(document).ready(function() { [% END %]
  2. [% END %] + [% IF pa_loo.class %]
    [% END %]
- [% IF pa_loo.class %]
[% END %] [% END %] [% END %][% END %][% END %] -- 2.39.5