Skip to content

Commit

Permalink
added admin navigation links
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxcanfly committed Aug 18, 2010
1 parent e1b2170 commit 24d477a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions blogango/templates/blogango/admin/base.html
Expand Up @@ -31,6 +31,26 @@
</div>
</div>
<div class="body">
<ul class="navbar standalonebar">
{% url blogango_admin_dashboard as dashboard_url %}
<li {% if request.path == dashboard_url %}class="active"{% endif %}>
<a href="{{ dashboard_url }}">{{ _("Dashboard") }}</a>
</li>
{% url blogango_admin_entry_new as write_url %}
<li {% if request.path == write_url %}class="active"{% endif %}>
<a href="{{ write_url }}">{{ _("Write") }}</a>
</li>
{% url blogango_admin_entry_manage as manage_url %}
<li {% if request.path == manage_url %}class="active"{% endif %}>
<a href="{{ manage_url }}">{{ _("Manage") }}</a>
</li>
<li>
<a href="{{ comment_url }}">{{ _("Comments") }}</a>
</li>
<li>
<a href="{{ options_url }}">{{ _("Options") }}</a>
</li>
</ul>
<div class="contents">
{% block contents %}{% endblock %}
</div>
Expand Down

0 comments on commit 24d477a

Please sign in to comment.