Bug 20941: (follow-up) Update N/A handling
Modify the conditional display of N/A in accordance with comment #17 Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
f7ec3b5ab6
commit
efc92a5ea2
|
|
@ -450,7 +450,7 @@
|
|||
</li>
|
||||
<li class="medium">
|
||||
<label class="medium">Request type:</label>
|
||||
[% type || '<span>N/A</span>' | html %]
|
||||
[% IF type %][% type | html %][% ELSE %]<span>N/A</span>[% END %]
|
||||
</li>
|
||||
<li class="cost">
|
||||
<label class="cost">Cost:</label>
|
||||
|
|
@ -559,8 +559,8 @@
|
|||
</div>
|
||||
<div class="medium">
|
||||
<span class="label medium">Request type:</span>
|
||||
% type = request.get_type %]
|
||||
[% type || '<span>N/A</span>' | html %]
|
||||
[% type = request.get_type %]
|
||||
[% IF type %][% type | html %][% ELSE %]<span>N/A</span>[% END %]
|
||||
</div>
|
||||
<div class="cost">
|
||||
<span class="label cost">Cost:</span>
|
||||
|
|
|
|||
|
|
@ -136,7 +136,9 @@
|
|||
[% IF request.metadata.Title %][% request.metadata.Title | html %][% ELSE %]<span>N/A</span>[% END %]
|
||||
</td>
|
||||
<td>[% request.backend | html %]</td>
|
||||
<td>[% type || '<span>N/A</span>' | html %]</td>
|
||||
<td>
|
||||
[% IF type %][% type | html %][% ELSE %]<span>N/A</span>[% END %]
|
||||
</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 +182,7 @@
|
|||
</li>
|
||||
<li>
|
||||
<label for="medium">Request type:</label>
|
||||
[% type || '<span>N/A</span>' | html %]
|
||||
[% IF type %][% type | html %][% ELSE %]<span>N/A</span>[% END %]
|
||||
</li>
|
||||
<li>
|
||||
<label for="placed">Request placed:</label>
|
||||
|
|
|
|||
Loading…
Reference in New Issue