Changeset - 9b0648ddfd18
[Not reviewed]
0 1 0
Luke Hatcher - 12 years ago 2012-07-13 07:07:54
lukeman@gmail.com
add admin link
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
symposion_project/templates/site_base.html
Show inline comments
...
 
@@ -21,16 +21,17 @@
 
{% block topbar_base %}
 
    <div class="container">
 
        <header>
 
            <div class="pull-right">
 
                {% if request.user.is_authenticated %}
 
                    <form style="margin: 0;" action="{% url account_logout %}" method="post">
 
                        <div class="btn-group">
 
                            <a class="btn" href="{% url dashboard %}">Dashboard</a>
 
                            <a class="btn" href="{% url admin:index %}">Admin</a>
 
                            <a class="btn" href="{% url account_settings %}">Settings</a>
 
                            {% csrf_token %}<button type="submit" class="btn">Log out</button>
 
                        </div>
 
                    </form>
 
                {% else %}
 
                    <a href="{% url account_login %}">Log in</a> / <a href="{% url account_signup %}">Sign up</a>
 
                {% endif %}
 
            </div>
0 comments (0 inline, 0 general)