From c8c48fd8955e0beb6ce4cc068485cefed109384d Mon Sep 17 00:00:00 2001 From: Keshav Priyadarshi Date: Tue, 7 Jan 2025 13:52:15 +0530 Subject: [PATCH] Handle missing email in profile image instruction Signed-off-by: Keshav Priyadarshi --- fedcode/templates/user_profile.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fedcode/templates/user_profile.html b/fedcode/templates/user_profile.html index 5120958..3b27fb8 100644 --- a/fedcode/templates/user_profile.html +++ b/fedcode/templates/user_profile.html @@ -174,7 +174,12 @@ - to create your profile picture using your email address — {{ person.user.email }} + to create your profile picture using your email address — + {% if person.user.email %} + {{ person.user.email }} + {% else %} + No email found! + {% endif %}