aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2019-03-26 16:20:41 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2019-03-26 16:20:41 +0000
commit7b249fe58fe24695c4638609516baacbef1a6002 (patch)
tree570585000f2770cad3a0bc9d91026d01e25286b0 /app/templates
parentremove unnecessary stylesheet (diff)
downloadAnnotateChange-7b249fe58fe24695c4638609516baacbef1a6002.tar.gz
AnnotateChange-7b249fe58fe24695c4638609516baacbef1a6002.zip
Don't show done image when the user hasn't done anything
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/index.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/templates/index.html b/app/templates/index.html
index da9c360..76edbcd 100644
--- a/app/templates/index.html
+++ b/app/templates/index.html
@@ -28,12 +28,15 @@
{% endfor %}
</table>
</div>
- {% else %}
+ {% elif tasks_todo|length == 0 and tasks_done|length > 0 %}
<div id="done">
<img src="/static/done.png">
<span>No more annotations to do! Thank you so much for your
help, <b>you rock!</b></span>
</div>
+ {% else %}
+ <span>There are no datasets for you to annotate at the moment, please
+ check back again later. Thank you!</span>
{% endif %}
{% if tasks_done %}
<h2>Completed Annotations</h2>