aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPriit Laes <plaes@plaes.org>2010-08-08 08:54:30 +0300
committerPriit Laes <plaes@plaes.org>2010-08-08 08:54:30 +0300
commitce7d078879a3b10b65705e613cbf6202a050b258 (patch)
treef9e1fdc77f17f22154d2e6e4ce76857c2e2e8a60 /grumpy/templates/layout.html
parentShow number of pkg issues in portage view (diff)
downloadgsoc2010-grumpy-ce7d078879a3b10b65705e613cbf6202a050b258.tar.gz
gsoc2010-grumpy-ce7d078879a3b10b65705e613cbf6202a050b258.tar.bz2
gsoc2010-grumpy-ce7d078879a3b10b65705e613cbf6202a050b258.zip
Move registration warning box below header
Diffstat (limited to 'grumpy/templates/layout.html')
-rw-r--r--grumpy/templates/layout.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/grumpy/templates/layout.html b/grumpy/templates/layout.html
index e4870c8..92fce2b 100644
--- a/grumpy/templates/layout.html
+++ b/grumpy/templates/layout.html
@@ -10,6 +10,13 @@
<div id=page>
{{ userinfo.show_usernav(g) }}
<h1><a href="{{ url_for('dashboard') }}">Gentoo Grumpy</a></h1>
+{% if g.user.regtoken -%}
+<span class="warning" style="clear:both;">
+Warning: this user account has not yet been confirmed.<br />
+Until the account has been confirmed, You won't receive
+notifications and cannot add packages to your watch list.
+</span>
+{% endif -%}{# g.user.regtoken #}
<div id=menu>
<ul>
{% if not g.user %}