summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/base.html19
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">