mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: add no_testdata hint
This commit is contained in:
1 parent
ff6777a8c0
commit
b82a26c903
2 files changed
+6
-1
No files matched your search
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.6.25",
|
"version": "4.6.26",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "hydro.js",
|
"main": "hydro.js",
|
||||||
|
|||||||
@@ -38,6 +38,11 @@
|
|||||||
</h1>
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="section__body typo">
|
<div class="section__body typo">
|
||||||
|
{% if not pdoc.data.length %}
|
||||||
|
<blockquote class="warn">
|
||||||
|
<p>{{ _('No testdata at current.') }}</p>
|
||||||
|
</blockquote>
|
||||||
|
{% endif %}
|
||||||
{% if tdoc %}
|
{% if tdoc %}
|
||||||
{% if tdoc.docType == model.document.TYPE_CONTEST %}
|
{% if tdoc.docType == model.document.TYPE_CONTEST %}
|
||||||
{% if model.contest.isDone(tdoc) %}
|
{% if model.contest.isDone(tdoc) %}
|
||||||
|
|||||||
Reference in new issue
Block a user