From: Christopher Allan Webber Date: Fri, 29 Jul 2011 02:20:32 +0000 (-0500) Subject: Make "needs verification" link only appear if you need verification really. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4476adcdb02d8c36ae87efe1c00ef0972ecff64d;p=mediagoblin.git Make "needs verification" link only appear if you need verification really. --- 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 %}