Link to Admin

This commit is contained in:
Matthew Ryan Dillon 2016-01-28 15:16:59 -07:00
parent b78d7882d5
commit 47dd418036

View file

@ -39,13 +39,11 @@
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav"> <ul class="nav navbar-nav">
{% if request.user.is_authenticated %} {% if request.user.is_authenticated %}
{% comment %}
<li class="nav-item {% block navbar_class-projects %}{% endblock %}"> <li class="nav-item {% block navbar_class-projects %}{% endblock %}">
<a class="nav-link" href="{% url 'projects:project_list' %}"> <a class="nav-link" href="{% url 'admin:index' %}">
{% trans "Projects" %} {% trans "Admin" %}
</a> </a>
</li> </li>
{% endcomment %}
{% endif %} {% endif %}
</ul> </ul>
<ul class="nav navbar-nav pull-right"> <ul class="nav navbar-nav pull-right">