aboutsummaryrefslogtreecommitdiff
path: root/app/templates/users/user_profile_page.html
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-05-29 18:16:05 +0100
committerrubenwardy <rw@rubenwardy.com>2018-05-29 18:16:05 +0100
commit63a3b5e8727a0a40acd0c81e1d98eddfa4cb6cae (patch)
tree949c0eb4bb7f9c119a07770c1439984c89a372bd /app/templates/users/user_profile_page.html
parent6353ac29e93877aa840ace90b0c4ce9bea7db313 (diff)
downloadcheatdb-63a3b5e8727a0a40acd0c81e1d98eddfa4cb6cae.tar.xz
Add claim call to action on unclaimed accounts
Diffstat (limited to 'app/templates/users/user_profile_page.html')
-rw-r--r--app/templates/users/user_profile_page.html8
1 files changed, 8 insertions, 0 deletions
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>