diff options
author | Priit Laes <plaes@plaes.org> | 2010-08-08 08:54:30 +0300 |
---|---|---|
committer | Priit Laes <plaes@plaes.org> | 2010-08-08 08:54:30 +0300 |
commit | ce7d078879a3b10b65705e613cbf6202a050b258 (patch) | |
tree | f9e1fdc77f17f22154d2e6e4ce76857c2e2e8a60 | |
parent | Show number of pkg issues in portage view (diff) | |
download | gsoc2010-grumpy-ce7d078879a3b10b65705e613cbf6202a050b258.tar.gz gsoc2010-grumpy-ce7d078879a3b10b65705e613cbf6202a050b258.tar.bz2 gsoc2010-grumpy-ce7d078879a3b10b65705e613cbf6202a050b258.zip |
Move registration warning box below header
-rw-r--r-- | grumpy/templates/_userinfo.html | 7 | ||||
-rw-r--r-- | grumpy/templates/layout.html | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/grumpy/templates/_userinfo.html b/grumpy/templates/_userinfo.html index 28d391e..0eab345 100644 --- a/grumpy/templates/_userinfo.html +++ b/grumpy/templates/_userinfo.html @@ -9,12 +9,5 @@ <li><a href="{{ url_for('login') }}">Login</a></li> {% endif %} </ul> -{% if g.user.regtoken -%} -<span class="warning"> -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> {% endmacro -%} 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 %} |