diff --git a/locale/vi/LC_MESSAGES/django.po b/locale/vi/LC_MESSAGES/django.po index 98d5bc7..89d592e 100644 --- a/locale/vi/LC_MESSAGES/django.po +++ b/locale/vi/LC_MESSAGES/django.po @@ -4750,7 +4750,7 @@ msgstr[0] "Máy chấm:" #: templates/problem/problem.html:351 msgid "none available" -msgstr "không có sẵn" +msgstr "Bài này chưa có máy chấm" #: templates/problem/problem.html:363 #, python-format diff --git a/templates/problem/problem.html b/templates/problem/problem.html index 79c5555..7814e9f 100644 --- a/templates/problem/problem.html +++ b/templates/problem/problem.html @@ -108,6 +108,10 @@ if (window.location.href.includes('#comment')) { $('#comment-announcement').click(); } + + {% if not available_judge %} + $('#judge-toggle').click(); + {% endif %} }); {% endblock %} @@ -330,14 +334,16 @@ {% endif %} {% if problem.is_editable_by(request.user) %}