From 4476adcdb02d8c36ae87efe1c00ef0972ecff64d Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Thu, 28 Jul 2011 21:20:32 -0500 Subject: [PATCH] Make "needs verification" link only appear if you need verification really. --- mediagoblin/templates/mediagoblin/base.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/mediagoblin/templates/mediagoblin/base.html b/mediagoblin/templates/mediagoblin/base.html index 22a691b5..8e3b0724 100644 --- a/mediagoblin/templates/mediagoblin/base.html +++ b/mediagoblin/templates/mediagoblin/base.html @@ -50,10 +50,15 @@ {{ request.user['username'] }}'s account - - - needs verification! + + {# the following link should only appear when verification is needed #} + {% if request.user.status == "needs_email_verification" %} + + needs verification! + {% endif %} + (logout) {% else %} -- 2.25.1