mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: add hint when problem config incorrect
This commit is contained in:
1 parent
2d135f6314
commit
bb67a39e58
2 files changed
+6
-1
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.14.2",
|
"version": "4.14.3",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "hydro.js",
|
"main": "hydro.js",
|
||||||
|
|||||||
@@ -69,6 +69,11 @@
|
|||||||
<p>{{ _('No testdata at current.') }}</p>
|
<p>{{ _('No testdata at current.') }}</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if typeof(pdoc.config) == 'string' %}
|
||||||
|
<blockquote class="warn">
|
||||||
|
<p>{{ pdoc.config }}</p>
|
||||||
|
</blockquote>
|
||||||
|
{% endif %}
|
||||||
{% if tdoc and tdoc.docType == model.document.TYPE_CONTEST and model.contest.isDone(tdoc) %}
|
{% if tdoc and tdoc.docType == model.document.TYPE_CONTEST and model.contest.isDone(tdoc) %}
|
||||||
<blockquote class="note">
|
<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>
|
<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