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