From 2b746513b4c2454ccc594510c277c059b56a8797 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 --- .../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 5f1e90f049..e92361194b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1026,11 +1026,11 @@ 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. @@ -1059,8 +1059,8 @@ [% END %]
  2. [% END %] + [% IF pa_loo.class %]
    [% END %]
- [% IF pa_loo.class %]
[% END %] [% END %] [% END %][% END %][% END %] -- 2.39.5