summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html20
1 files changed, 11 insertions, 9 deletions
diff --git a/templates/base.html b/templates/base.html
index 4abc538..75d65da 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -28,15 +28,17 @@
{% endblock %}
</div>
<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="/todo/">Todos</a></li>
- <li><a href="/packages/signoffs/">Signoffs</a></li>
- <li><a href="/news/">News</a></li>
- <li><a href="/devel/">Dashboard</a></li>
- </ul>
+ {% if user.is_authenticated %}
+ <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="/todo/">Todos</a></li>
+ <li><a href="/packages/signoffs/">Signoffs</a></li>
+ <li><a href="/news/">News</a></li>
+ <li><a href="/devel/">Dashboard</a></li>
+ </ul>
+ {% endif %}
</div>
</div>
<div id="content">