From 60a81e68fe5bc1e4af3c266f645aeed08fc965a2 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Sat, 20 Jan 2018 10:25:34 +0100 Subject: [PATCH] bug fixes for non specified gender --- rowers/templates/rankings.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rowers/templates/rankings.html b/rowers/templates/rankings.html index 369827b5..db4f9d7a 100644 --- a/rowers/templates/rankings.html +++ b/rowers/templates/rankings.html @@ -280,7 +280,7 @@
- {% if age %} + {% if age and sex != 'not specified' %}

World Records

@@ -377,6 +377,10 @@
+ {% else %} + If you fill in your birth date and gender, you will see World Records for + your age group and gender at this place. You can edit your settings + here. {% endif %}