From c124a7d1a6b5b4ad7ce507c9a0536e45f6acd293 Mon Sep 17 00:00:00 2001 From: Gregory Trullemans Date: Tue, 21 Nov 2023 10:23:06 +0100 Subject: [PATCH] Update height/weight listing --- jarvis/followup/templates/heightweight/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jarvis/followup/templates/heightweight/list.html b/jarvis/followup/templates/heightweight/list.html index 5c1b196..5c2b3ea 100644 --- a/jarvis/followup/templates/heightweight/list.html +++ b/jarvis/followup/templates/heightweight/list.html @@ -46,7 +46,7 @@ {{ heightweight.date | date:"d-m-Y" }} {{ heightweight.gymnast }} {{ heightweight.height }} - {{ heightweight.hips_height | default_if_none:"-" }} + {% if heightweight.hips_height == None %}-{% else %}{{ heightweight.hips_height }}{% endif %} {{ heightweight.weight }} {{ heightweight.bmi | floatformat:2 }}