Skip to content

Commit

Permalink
Fix sidebar "Testing" link not being active when on testing page (#1249)
Browse files Browse the repository at this point in the history
  • Loading branch information
prandla authored Jan 18, 2024
1 parent 7db9aa1 commit 7b0d4db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cms/server/contest/templates/contest.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ <h3 id="countdown_box">
</li>
{% if actual_phase == 0 or participation.unrestricted %}{# FIXME maybe >= 0? #}
{% if testing_enabled %}
<li{% if page == "testing" %} class="active"{% endif %}>
<li{% if page == "test_interface" %} class="active"{% endif %}>
<a href="{{ contest_url("testing") }}">{% trans %}Testing{% endtrans %}</a>
</li>
{% endif %}
Expand Down

0 comments on commit 7b0d4db

Please sign in to comment.