summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-01-10 09:32:21 +0100
committereliott <eliott@cactuswax.net>2008-01-10 09:32:21 +0100
commit21798b14067b8a81044b1d6cb8d06a923b350990 (patch)
tree846baa6a3ff2d737a648ec5e28b885b4f70e6713 /templates
parent604e9d828a459cd28e7736fc45675e4297f759ac (diff)
downloadarchweb-21798b14067b8a81044b1d6cb8d06a923b350990.tar.gz
archweb-21798b14067b8a81044b1d6cb8d06a923b350990.tar.xz
Some tweaks for the dev navigation
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html19
1 files changed, 13 insertions, 6 deletions
diff --git a/templates/base.html b/templates/base.html
index 59cbf46..81dbba0 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">