Bug 23533: Remove spaces after/before the open/close parenthesis

t/db_dependent/selenium/patrons_search.t is failing because of this change:

    #          got: 'Koha › Patrons › Modify patron <strong>fir's"tname</strong> \123 ❤ test_patron_1 ( iOVAoJj )'
    #     expected: 'Koha › Patrons › Modify patron <strong>fir's"tname</strong> \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 <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2020-02-04 16:05:49 +01:00 committed by Martin Renvoize
parent 86a0a7d80b
commit c54163940d
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -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 %]
</title>