From df3af2b8a84d8d24bcbe4bda95a7b0433f790f46 Mon Sep 17 00:00:00 2001 From: Gregory Trullemans Date: Tue, 21 Nov 2023 10:19:39 +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 5c2b3ea..5c1b196 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 }} - {% if heightweight.hips_height == None %}-{% else %}{{ heightweight.hips_height }}{% endif %} + {{ heightweight.hips_height | default_if_none:"-" }} {{ heightweight.weight }} {{ heightweight.bmi | floatformat:2 }}