Fix little errors
This commit is contained in:
@ -7,13 +7,14 @@
|
||||
<ul class="pagination-list">
|
||||
{% for edition in editions %}
|
||||
<li>
|
||||
<a class="pagination-link {% if edition.year == year %}is-current{% endif %}"
|
||||
{% if edition.year != year %}href="{% url 'scores' edition.year %}"{% endif %}
|
||||
<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%}
|
||||
>{{ edition.roman }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
{% if scores_available %}
|
||||
<div class="hero has-text-centered">
|
||||
<span class="title my-6">Klasyfikacja indywidualna</span>
|
||||
<table class="hero-body table is-striped is-narrow is-hoverable is-fullwidth">
|
||||
@ -75,4 +76,9 @@
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="hero has-text-centered">
|
||||
<span class="title my-6">Wyniki niedostępne</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user