Merge branch 'issue_7_really_delete_pitstop_page_does_not_show_all_information' into 'development'
Fix issue with missing information on pitstop delete page See merge request !21
This commit is contained in:
commit
bebccf0a36
|
@ -17,11 +17,18 @@
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th style='text-align:right'>Litres</th>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
<th style='text-align:right'>Costs (overall)</th>
|
<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>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<form class='form-horizontal' method='POST'>
|
<form class='form-horizontal' method='POST'>
|
||||||
|
|
Loading…
Reference in New Issue