diff --git a/mo/web/templates/org_contest.html b/mo/web/templates/org_contest.html index 1f33dbe4eaa7ff6505e17d67184084ef32df85bb..fedf7a52296eb4e9f36cfd3115d46de2d15d3def 100644 --- a/mo/web/templates/org_contest.html +++ b/mo/web/templates/org_contest.html @@ -56,14 +56,14 @@ {% if can_manage and site %} <a class="btn btn-default" href="{{ ctx.url_for('org_contest_add_user') }}">Přidat účastníka</a> {% endif %} - {% if not site %} - {% if state in [RoundState.grading, RoundState.closed] %} + {% if not site and state in [RoundState.grading, RoundState.closed] %} <a class="btn btn-primary" href='{{ ctx.url_for('org_score') }}'>Výsledky</a> {% endif %} <a class="btn btn-default" href='{{ ctx.url_for('org_contest_protocols') }}'>Protokoly</a> {% if can_upload %} <a class="btn btn-default" href='{{ ctx.url_for('org_contest_scans') }}'>Zpracování skenů</a> {% endif %} + {% if not site %} {% if state != RoundState.closed and round.seq > 1 %} <a class="btn btn-primary" href='{{ ctx.url_for('org_contest_advance') }}'>Postup z minulého kola</a> {% endif %}