Fix issue with missing information on pitstop delete page
This commit is contained in:
parent
fd685c316d
commit
a4ecae4700
|
@ -17,11 +17,18 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th style='text-align:right'>Litres</th>
|
||||
<td style='text-align: left'>{{ pitstop.litres }} l</td>
|
||||
<td style='text-align: left'>{{ pitstop.amount }} {{ pitstop.consumable.unit }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style='text-align:right'>Costs (overall)</th>
|
||||
<td style='text-align: left'>{{ pitstop.costs }} €</td>
|
||||
<td style='text-align: left'>
|
||||
{% if pitstop.costs %}
|
||||
{{pitstop.costs}}
|
||||
{% else %}
|
||||
--
|
||||
{% endif %}
|
||||
€
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<form class='form-horizontal' method='POST'>
|
||||
|
|
Loading…
Reference in New Issue