blob: 6d7b4b6c425850d4be4a4d627aa06492caf7e55f (
plain) (
tree)
|
|
{# admin block #}
{% if request.user.is_authenticated and request.user.is_staff %}
<h1>Admin</h1>
<p> (this is not visible to customers!)</p>
<div>
<a href="{% url 'resources:create_resource' %}">Add a new resource</a>
</div>
{% endif %}
|