Bug 29602: (follow-up) fix duplicate, missing or mismatching <span>

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Victor Grousset/tuxayo 2022-02-05 21:43:04 +01:00 committed by Fridolin Somers
parent e7a5158885
commit 9dcfa320f5
8 changed files with 9 additions and 9 deletions

View File

@ -71,7 +71,7 @@
[%- data.cardnumber | html -%]
[%- END -%]
[%- ELSE -%]
<span>A patron from library [% Branches.GetName( patron.branchcode ) | html -%]<span>
<span>A patron from library [% Branches.GetName( patron.branchcode ) | html -%]</span>
[%- END -%]
[%- IF hide_patron_infos_if_needed AND ( display_patron_name OR display_cardnumber ) -%]

View File

@ -66,7 +66,7 @@
[% END %]
<h1>
[% IF ( invoiceclosedate ) %]
<span>Receipt summary for <em>[% name | html %]</em><span> [% IF ( invoice ) %] <em> [ [% invoice | html %] ] </em>[% END %]
<span>Receipt summary for <em>[% name | html %]</em></span> [% IF ( invoice ) %] <em> [ [% invoice | html %] ] </em>[% END %]
[% ELSE %]
<span>Receive orders from [% name | html %]</span>
[% END %]

View File

@ -7,7 +7,7 @@
[% IF (server.servertype||type) == 'sru' %]
<span>SRU</span>
[% ELSIF (server.servertype||type) == 'zed' %]
</span>Z39.50</span>
<span>Z39.50</span>
[% END %]
[% END %]

View File

@ -87,7 +87,7 @@
<td data-order="[% QUEUED_MESSAGE.time_queued | html %]">[% QUEUED_MESSAGE.time_queued | $KohaDates with_hours => 1 %]</td>
<td>
[% IF ( QUEUED_MESSAGE.failure_code ) %]
[% IF ( QUEUED_MESSAGE.failure_code == "INVALID_BORNUMBER" ) %]<span><span>Invalid borrowernumber [% borrowernumber | html %]</span>
[% IF ( QUEUED_MESSAGE.failure_code == "INVALID_BORNUMBER" ) %]<span>Invalid borrowernumber [% borrowernumber | html %]</span>
[% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_EMAIL' ) %]<span>Unable to find an email address for this borrower</span>
[% ELSIF (matches = QUEUED_MESSAGE.failure_code.match('INVALID_EMAIL:(\w+)') ) %]<span>Invalid [% matches.0 | html %] email address found [% borrowernumber | html %]</span>
[% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_FROM' ) %]<span>Missing from email address</span>

View File

@ -198,7 +198,7 @@
<span>Pending</span>
[% SET status_found = 1 %]
[% ELSIF ( STATUS == 'ACCEPTED' ) %]
<span>Accepted<span>
<span>Accepted</span>
[% SET status_found = 1 %]
[% ELSIF ( STATUS == 'CHECKED' ) %]
<span>Checked</span>

View File

@ -86,7 +86,7 @@
[% CASE 'error_on_update' %]
<span>An error occurred when updating this content. Perhaps it already exists</span>
[% CASE 'error_on_insert' %]
<span>An error occurred when adding this content. Check the logs
<span>An error occurred when adding this content. Check the logs</span>
[% CASE 'error_on_delete' %]
<span>An error occurred when deleting this content. Check the logs</span>
[% CASE 'success_on_update' %]

View File

@ -314,9 +314,9 @@
<td>
[% FOREACH problem IN result.problems %]
[% IF problem.key == 'wrongplace' %]
<span>Found in wrong place<span><br/>
<span>Found in wrong place</span><br/>
[% ELSIF problem.key == 'changestatus' %]
<span>Unknown not-for-loan status<span><br/>
<span>Unknown not-for-loan status</span><br/>
[% ELSIF problem.key == 'not_scanned' %]
<span>Missing (not scanned)</span><br/>
[% ELSIF problem.key == 'checkedout' %]

View File

@ -2,7 +2,7 @@
[% CASE 'XSLTH_ERR_NO_FILE' %]
<span>No XSLT file passed.</span>
[% CASE 'XSLTH_ERR_FILE_NOT_FOUND' %]
<span>XSLT file not found.</span></span>
<span>XSLT file not found.</span>
[% CASE 'XSLTH_ERR_LOADING' %]
<span>Error while loading stylesheet.</span>
[% CASE 'XSLTH_ERR_PARSING_CODE' %]