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

@@ -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) %}