Bug 20941: (follow-up) Wrap N/A strings in <span>

All N/A strings in ILL templates wrapped in <span> to aid translation

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Andrew Isherwood 2018-10-04 13:38:20 +01:00 committed by Nick Clemens
parent aced7b10de
commit f7ec3b5ab6
2 changed files with 4 additions and 4 deletions

View file

@ -450,7 +450,7 @@
</li>
<li class="medium">
<label class="medium">Request type:</label>
[% type || 'N/A' | html %]
[% type || '<span>N/A</span>' | html %]
</li>
<li class="cost">
<label class="cost">Cost:</label>
@ -560,7 +560,7 @@
<div class="medium">
<span class="label medium">Request type:</span>
% type = request.get_type %]
[% type || 'N/A' | html %]
[% type || '<span>N/A</span>' | html %]
</div>
<div class="cost">
<span class="label cost">Cost:</span>

View file

@ -136,7 +136,7 @@
[% IF request.metadata.Title %][% request.metadata.Title | html %][% ELSE %]<span>N/A</span>[% END %]
</td>
<td>[% request.backend | html %]</td>
<td>[% type || 'N/A' | html %]</td>
<td>[% type || '<span>N/A</span>' | html %]</td>
<td>[% request.capabilities.$status.name | html %]</td>
<td><span title="[% request.placed | html %]">[% request.placed | $KohaDates %]</span></td>
<td><span title="[% request.updated | html %]">[% request.updated | $KohaDates %]</span></td>
@ -180,7 +180,7 @@
</li>
<li>
<label for="medium">Request type:</label>
[% type || 'N/A' | html %]
[% type || '<span>N/A</span>' | html %]
</li>
<li>
<label for="placed">Request placed:</label>