diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-05-29 18:16:05 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-05-29 18:16:05 +0100 |
commit | 63a3b5e8727a0a40acd0c81e1d98eddfa4cb6cae (patch) | |
tree | 949c0eb4bb7f9c119a07770c1439984c89a372bd /app/templates/users | |
parent | 6353ac29e93877aa840ace90b0c4ce9bea7db313 (diff) | |
download | cheatdb-63a3b5e8727a0a40acd0c81e1d98eddfa4cb6cae.tar.xz |
Add claim call to action on unclaimed accounts
Diffstat (limited to 'app/templates/users')
-rw-r--r-- | app/templates/users/claim.html | 3 | ||||
-rw-r--r-- | app/templates/users/user_profile_page.html | 8 |
2 files changed, 9 insertions, 2 deletions
diff --git a/app/templates/users/claim.html b/app/templates/users/claim.html index 4f576e8..f561a89 100644 --- a/app/templates/users/claim.html +++ b/app/templates/users/claim.html @@ -11,8 +11,7 @@ Creating an Account <div class="box-body"> <p> If you have a forum account, you'll need to prove that you own it - to get an account on ContentDB. You don't need a forum account to sign - up however. + to get an account on ContentDB. </p> {% if current_user.is_authenticated %} diff --git a/app/templates/users/user_profile_page.html b/app/templates/users/user_profile_page.html index c1cdb00..304649e 100644 --- a/app/templates/users/user_profile_page.html +++ b/app/templates/users/user_profile_page.html @@ -6,6 +6,14 @@ {% block content %} +{% if not current_user.is_authenticated and user.rank == user.rank.NOT_JOINED and user.forums_username %} +<div class="box box_grey alert alert-info"> + Is this you? Claim your account now! + + <a class="alert_right button" href="{{ url_for('user_claim_page', username=user.forums_username) }}">Claim</a> +</div> +{% endif %} + <div class="box box_grey"> <h2>{{ user.display_name }}</h2> |