diff options
author | eliott <eliott@cactuswax.net> | 2008-01-10 00:32:21 -0800 |
---|---|---|
committer | eliott <eliott@cactuswax.net> | 2008-01-10 00:32:21 -0800 |
commit | 21798b14067b8a81044b1d6cb8d06a923b350990 (patch) | |
tree | 846baa6a3ff2d737a648ec5e28b885b4f70e6713 /templates/base.html | |
parent | 604e9d828a459cd28e7736fc45675e4297f759ac (diff) |
Some tweaks for the dev navigation
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/templates/base.html b/templates/base.html index 59cbf462..81dbba05 100644 --- a/templates/base.html +++ b/templates/base.html @@ -14,12 +14,6 @@ <div id="title"> <div id="logo"><h1 id="archtitle"><a href="/" title="Arch Linux (Home)">Arch Linux</a></h1></div> </div> - <div style="float: right; color: #eeeeee; font-size: small"> - {% if not user.is_anonymous %} - Logged in as <strong>{{ user.username }}</strong>. - <a href="/accounts/logout/">Logout</a> - {% endif %} - </div> <div id="main_nav"> {% block topmenu %} <ul> @@ -33,6 +27,18 @@ {% endblock %} </div> {% block ads %} + {% if not user.is_anonymous %} + <div id="dev_nav"> + <ul> + <li><a href="/accounts/logout/">Logout</a></li> + <li><a href="/devel/profile/">Profile</a></li> + <li><a href="http://www.archlinux.org/mailman/private/arch-dev/">Archives</a></li><li><a href="/wiki/">Dev Wiki</a></li> + <li><a href="/todo/">Todos</a></li> + <li><a href="/news/">News</a></li> + <li><a href="/devel/">Dashboard</a></li> + </ul> + </div> + {% else %} <div id="ads"> <script type="text/javascript"><!-- google_ad_client = "pub-0403484505451360"; @@ -47,6 +53,7 @@ //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script> </div> + {% endif %} {% endblock %} </div> <div id="content"> |