mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: add submission language not available warning
This commit is contained in:
3 files changed
+10
-2
No files matched your search
@@ -9,6 +9,11 @@
|
||||
<p>{{ pdoc.config }}</p>
|
||||
</blockquote>
|
||||
{% endif %}
|
||||
{% if pdoc.config.langs and not pdoc.config.langs|length %}
|
||||
<blockquote class="warn">
|
||||
<p>{{ _('No submission language available for this problem.') }}</p>
|
||||
</blockquote>
|
||||
{% endif %}
|
||||
{% if tdoc and tdoc.docType == model.document.TYPE_CONTEST and model.contest.isDone(tdoc) %}
|
||||
<blockquote class="note">
|
||||
<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>
|
||||
|
||||
Reference in new issue
Block a user