Changeset - 62cbc28aff27
[Not reviewed]
0 1 0
Luke Hatcher - 12 years ago 2012-07-13 18:00:27
lukeman@gmail.com
admin only show to staff
1 file changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
symposion_project/templates/site_base.html
Show inline comments
...
 
@@ -26,7 +26,9 @@
 
                    <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>
 
                            {% if request.user.is_staff %}
 
                                <a class="btn" href="{% url admin:index %}">Admin</a>
 
                            {% endif %}
 
                            <a class="btn" href="{% url account_settings %}">Settings</a>
 
                            {% csrf_token %}<button type="submit" class="btn">Log out</button>
 
                        </div>
0 comments (0 inline, 0 general)