From afb4631e655a6d3abbd048cfc3c5dcb8076af1fa Mon Sep 17 00:00:00 2001 From: Jef van Schendel Date: Tue, 23 Oct 2012 16:12:11 +0200 Subject: [PATCH] Update Airy's base.html --- .../airy/templates/mediagoblin/base.html | 21 +++++++------------ 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/mediagoblin/themes/airy/templates/mediagoblin/base.html b/mediagoblin/themes/airy/templates/mediagoblin/base.html index d243d331..db500199 100644 --- a/mediagoblin/themes/airy/templates/mediagoblin/base.html +++ b/mediagoblin/themes/airy/templates/mediagoblin/base.html @@ -53,24 +53,17 @@ {% block mediagoblin_header_title %}{% endblock %}
{% if request.user %} + {{ request.user.username }}{% trans %}'s account{% endtrans %} + ({% trans %}log out{% endtrans %}) + {% if request.user and request.user.status == 'active' %} + {% trans %}Add media{% endtrans %} + {% elif request.user and request.user.status == "needs_email_verification" %} {# the following link should only appear when verification is needed #} - {% if request.user.status == "needs_email_verification" %} - {% trans %}Verify your email!{% endtrans %} + {% trans %}Verify your email!{% endtrans %} {% endif %} - {% else %} {% trans %}Log in{% endtrans %} -- 2.25.1