From 996b3bf7c98d58ef5059ffe12639809155638734 Mon Sep 17 00:00:00 2001 From: Jef van Schendel Date: Tue, 26 Jul 2011 23:40:17 +0200 Subject: [PATCH] Insert links and content for ticket #387: content for verification in user.html, needs-verification link in base.html, highlight class for links in base.css --- mediagoblin/static/css/base.css | 4 ++++ mediagoblin/templates/mediagoblin/base.html | 4 ++++ .../templates/mediagoblin/user_pages/user.html | 15 +++++++++++++++ 3 files changed, 23 insertions(+) diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index 2d099526..2073ecb8 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -47,6 +47,10 @@ a { color: #999; } +a.highlight { + color: #fff; +} + label { font-weight: normal; } diff --git a/mediagoblin/templates/mediagoblin/base.html b/mediagoblin/templates/mediagoblin/base.html index b38ad674..22a691b5 100644 --- a/mediagoblin/templates/mediagoblin/base.html +++ b/mediagoblin/templates/mediagoblin/base.html @@ -50,6 +50,10 @@ {{ request.user['username'] }}'s account + + + needs verification! (logout) {% else %} diff --git a/mediagoblin/templates/mediagoblin/user_pages/user.html b/mediagoblin/templates/mediagoblin/user_pages/user.html index 7ab2031e..b0c1027c 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/user.html +++ b/mediagoblin/templates/mediagoblin/user_pages/user.html @@ -26,6 +26,20 @@ {% block mediagoblin_content -%} {% if user %} + +
+

Verification needed

+ +

Almost done! Your account still needs to be verified.

+

An email should arrive in a few moments with instructions on how to do so.

+

In case it doesn't:

+ +
Resend verification email + +

Someone has registered an account with this username, but it still has to be verified.

+

If you are that person but you've lost your verification email, you can log in and resend it.

+
+ {#

{{ user.username }}'s profile

{% include "mediagoblin/utils/profile.html" %} @@ -43,6 +57,7 @@ user=user.username) }}>atom feed
+ #} {% else %} {# This *should* not occur as the view makes sure we pass in a user. #}

Sorry, no such user found.

-- 2.25.1