From 3e2b6b929923e5e616d2520bb34f0f0838cd82d3 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 30 Sep 2020 11:00:58 +0200 Subject: [PATCH] Bug 26534: Use IF ELSE directly on h5 opening tag Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../prog/en/includes/circ-menu.inc | 23 ++++++++----------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc index e57e46c4f2..17f8f36f11 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -8,12 +8,22 @@ [% IF ( patronimages ) %]
+[% ELSE %] +
+[% END %] [% IF ( patron_is_staff ) %] [% END %] [% INCLUDE 'patron-title.inc' %]
+[% IF Koha.Preference('showLastPatron') %] + + + +[% END %] + +[% IF ( patronimages ) %]
[% IF ( patron.image ) %] @@ -29,19 +39,6 @@ [% END %]
-[% ELSE %] -
- [% IF ( patron_is_staff ) %] - - [% END %] - [% INCLUDE 'patron-title.inc' %] -
-[% END %] - -[% IF Koha.Preference('showLastPatron') %] - - - [% END %]
    -- 2.39.5