From c714c77afa36ba5e0a6d89042e58b5dace740b83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Kol=C3=A1=C5=99?= Date: Sun, 17 Dec 2023 13:58:52 +0100 Subject: [PATCH] feat(users): support for birthdate II --- .../templates/accounts/user_profile/detail.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/fiesta/apps/accounts/templates/accounts/user_profile/detail.html b/fiesta/apps/accounts/templates/accounts/user_profile/detail.html index dcfb6005..ae55aa2f 100644 --- a/fiesta/apps/accounts/templates/accounts/user_profile/detail.html +++ b/fiesta/apps/accounts/templates/accounts/user_profile/detail.html @@ -50,10 +50,12 @@

{% trans "Basic information" %}

Gender: {{ profile.gender }} - - Birth date: - {{ profile.birth_date }} - + {% if profile.birth_date %} + + Birth date: + {{ profile.birth_date }} + + {% endif %} Joined: {{ user.date_joined }}