From c54163940d9fa1fb173ae236a1e093cc50cadba8 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 4 Feb 2020 16:05:49 +0100 Subject: [PATCH] Bug 23533: Remove spaces after/before the open/close parenthesis MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit t/db_dependent/selenium/patrons_search.t is failing because of this change: # got: 'Koha › Patrons › Modify patron fir's"tname \123 ❤ test_patron_1 ( iOVAoJj )' # expected: 'Koha › Patrons › Modify patron fir's"tname \123 ❤ test_patron_1 (iOVAoJj)' We are adding space after and before the open/close parenthesis of the category code. Signed-off-by: Martin Renvoize --- .../prog/en/modules/members/memberentrygen.tt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 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 d9cfe94bd1..cbb8ae2d0e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt @@ -17,14 +17,14 @@ [% END %] [% IF (firstname) %][% firstname | html %] [% END %] [% IF (surname) %][% surname | html %] [% END %] - ([%IF categoryname %] - [% categoryname | html %] - [% ELSE %] - [% IF ( I ) %] Organization [% END %] - [% IF ( A ) %] Adult [% END %] - [% IF ( C ) %] Child [% END %] - [% IF ( P ) %] Professional [% END %] - [% IF ( S ) %] Staff [% END %] + ([% IF categoryname -%] + [%- categoryname | html -%] + [%- ELSE -%] + [%- IF ( I ) %]Organization[% END -%] + [%- IF ( A ) %]Adult[% END -%] + [%- IF ( C ) %]Child[% END -%] + [%- IF ( P ) %]Professional[% END -%] + [%- IF ( S ) %]Staff[% END -%] [% END %]) [% END %] -- 2.39.5