diff --git a/templates/problem/problem.html b/templates/problem/problem.html index 30e3716..64e4b3d 100644 --- a/templates/problem/problem.html +++ b/templates/problem/problem.html @@ -194,7 +194,7 @@
{{ _('All submissions') }}
{{ _('Best submissions') }}
{% if editorial and editorial.is_public and - not (request.user.is_authenticated and request.profile.current_contest) %} + not (request.user.is_authenticated and request.in_contest_mode) %}
{{ _('Read editorial') }}
{% endif %}