aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2011-07-29 08:25:22 -0500
committerChristopher Allan Webber <cwebber@dustycloud.org>2011-07-29 08:25:22 -0500
commit7b6836a362a2c4a42be1ae95e7a31e07c113d600 (patch)
treef3a4236a3cf1206e6047c07fd38c00cc45ce6780
parentdc9cbb3888ea2e285fcf2d8368382a688f03268a (diff)
downloadmediagoblin-7b6836a362a2c4a42be1ae95e7a31e07c113d600.tar.lz
mediagoblin-7b6836a362a2c4a42be1ae95e7a31e07c113d600.tar.xz
mediagoblin-7b6836a362a2c4a42be1ae95e7a31e07c113d600.zip
"Needs verification!" button should go to the left of username
Looks cleaner is all..
-rw-r--r--mediagoblin/templates/mediagoblin/base.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/mediagoblin/templates/mediagoblin/base.html b/mediagoblin/templates/mediagoblin/base.html
index 0a037d26..45c17e94 100644
--- a/mediagoblin/templates/mediagoblin/base.html
+++ b/mediagoblin/templates/mediagoblin/base.html
@@ -54,10 +54,6 @@
{% block mediagoblin_header_title %}{% endblock %}
<div class="mediagoblin_header_right">
{% if request.user %}
- <a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
- user= request.user['username']) }}">
- {{ request.user['username'] }}</a>
-
{# the following link should only appear when verification is needed #}
{% if request.user.status == "needs_email_verification" %}
<a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
@@ -66,6 +62,10 @@
needs verification!</a>
{% endif %}
+ <a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
+ user= request.user['username']) }}">
+ {{ request.user['username'] }}</a>
+
(<a href="{{ request.urlgen('mediagoblin.auth.logout') }}">logout</a>)
{% else %}
<a href="{{ request.urlgen('mediagoblin.auth.login') }}">