let admins browse all scores
This commit is contained in:
parent
e1ff4c6f8e
commit
d3917c7450
@ -8,7 +8,7 @@
|
||||
{% for edition in editions %}
|
||||
<li>
|
||||
<a class="pagination-link {% if edition.year == year %}is-current"{% elif edition.scores_available %}" href="{% url 'scores' edition.year %}"{% endif %}"
|
||||
{% if not edition.scores_available %}disabled{% endif%}
|
||||
{% if not edition.scores_available and not request.user.is_superuser %}disabled{% endif%}
|
||||
>{{ edition.roman }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user