.
This commit is contained in:
@@ -13,7 +13,11 @@
|
|||||||
<a href="{% url 'oef:format_update' format.id %}">{{ format.name }}</a>
|
<a href="{% url 'oef:format_update' format.id %}">{{ format.name }}</a>
|
||||||
<a href="{% url 'oef:formats_apply' format.id %}">apply</a> [{{ format.get_entries.count }}]
|
<a href="{% url 'oef:formats_apply' format.id %}">apply</a> [{{ format.get_entries.count }}]
|
||||||
|
|
||||||
|
{% if request.user.is_superuser %}
|
||||||
<a href="{% url 'oef:formats_delete' format.id %}">(delete)</a>
|
<a href="{% url 'oef:formats_delete' format.id %}">(delete)</a>
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user