From 559e051bb9eecbc92f63aa2941caea6ee373fe0e 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 --- .../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 be03649b2a..e72944eb13 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -1041,11 +1041,11 @@ Additional attributes and identifiers [% FOREACH pa_loo IN patron_attributes %] - [% IF pa_loo.class %] -
- [% pa_loo.lib | html %] - [% END %]
    + [% IF pa_loo.class %] +
    + [% pa_loo.lib | html %] + [% END %] [% FOREACH patron_attribute IN pa_loo.items %]
  1. @@ -1074,8 +1074,8 @@ [% END %]
  2. [% END %] + [% IF pa_loo.class %]
    [% END %]
- [% IF pa_loo.class %]
[% END %] [% END %] [% END %][% END %][% END %] -- 2.39.5