ui: handle session multi-lang

This commit is contained in:
undefined committed 2021-10-12 18:34:53 +08:00
1 parent 172a03074c
commit e12bed20bd
2 files changed
+2 -2

No files matched your search

@@ -82,7 +82,7 @@
<p>{{ _('You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.') }}</p>
</blockquote>
{% endif %}
{{ pdoc.content|content(handler.user.viewLang, pdoc.html)|safe }}
{{ pdoc.content|content(handler.user.viewLang or handler.session.viewLang, pdoc.html)|safe }}
</div>
</div></div>
</div>