Commit 2c1c1628 authored by svilayphiou's avatar svilayphiou

Re-index button only available for staff users

parent bc291885
......@@ -39,7 +39,9 @@
<a class="button screen" href="{% url 'password_change' %}">Change password</a>
<a class="button screen-only" href="{% url 'pad-create' %}">Create</a>
<a class="button screen-only" href="{% url 'all' %}">List</a>
<a class="button screen-only" href="{% url 'publish' %}">Re-index</a>
{% if user.is_staff %}
<a class="button screen-only" href="{% url 'publish' %}">Re-index</a>
{% endif %}
<a class="button screen-only" href="/w/screen.css">screen.css</a>
<a class="button screen-only" href="/w/laser.css">laser.css</a>
<a class="button screen-only" href="/w/offset.css">offset.css</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment