ui: add no_testdata hint

This commit is contained in:
undefined committed 2021-05-04 13:24:23 +08:00
1 parent ff6777a8c0
commit b82a26c903
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.6.25",
"version": "4.6.26",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",
@@ -38,6 +38,11 @@
</h1>
</div>
<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.docType == model.document.TYPE_CONTEST %}
{% if model.contest.isDone(tdoc) %}