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:
Joachim Lusiardi 2016-07-21 19:14:45 +02:00
commit bebccf0a36
1 changed files with 9 additions and 2 deletions

View File

@ -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'>