diff --git a/templates/problem/list.html b/templates/problem/list.html index 63e8e38..cb4a5e0 100644 --- a/templates/problem/list.html +++ b/templates/problem/list.html @@ -3,13 +3,15 @@ {% include "problem/left-sidebar.html" %} {% endblock %} +{% set in_ioi16 = request.in_contest_mode and request.participation.contest.format_name == "ioi16" %} + {% block middle_content %}
{% if request.in_contest_mode %} - {% if request.user.is_authenticated %} + {% if request.user.is_authenticated and not in_ioi16 %} {% endif %} @@ -18,7 +20,9 @@ {% endif %} + {% if not in_ioi16 %} + {% endif %} {% else %} {% if request.user.is_authenticated %} {% for problem in object_list %} - {% if request.user.is_authenticated %} + {% if request.user.is_authenticated and not in_ioi16 %} {% if problem.id in completed_problem_ids %} {% endif %} + {% if not in_ioi16 %} + {% endif %} + {% if show_editorial%}
{{ _('Problem') }}{{ _('Types') }}{{ _('Points') }}{{ _('Users') }} @@ -60,7 +64,7 @@
@@ -111,6 +115,7 @@ {% if not request.in_contest_mode %} {{ problem.ac_rate|floatformat(0) }}% {% if not request.in_contest_mode or not hide_contest_scoreboard %} @@ -120,6 +125,8 @@ {% endif %} {% if problem.has_public_editorial %}