From a4ecae4700d627e3574c3121424b258a8638e088 Mon Sep 17 00:00:00 2001 From: Joachim Lusiardi Date: Thu, 21 Jul 2016 19:11:32 +0200 Subject: [PATCH] Fix issue with missing information on pitstop delete page --- app/templates/deletePitstopForm.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app/templates/deletePitstopForm.html b/app/templates/deletePitstopForm.html index fa14203..871ec67 100644 --- a/app/templates/deletePitstopForm.html +++ b/app/templates/deletePitstopForm.html @@ -17,11 +17,18 @@ Litres - {{ pitstop.litres }} l + {{ pitstop.amount }} {{ pitstop.consumable.unit }} Costs (overall) - {{ pitstop.costs }} € + + {% if pitstop.costs %} + {{pitstop.costs}} + {% else %} + -- + {% endif %} + € +