X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=django_simple%2Ftodo%2Ftemplates%2Findex.html;h=608de3743bc8b23839410cf8a13582adf95f35d6;hb=db0d57675fb9f9eef43d98255b68639f56c69d40;hp=33bbd55d4c6533b8ea19f12c817462fc4ab16b8d;hpb=32eab17b5d32751f900c80ffc18e6661bfe90572;p=django_unres.git diff --git a/django_simple/todo/templates/index.html b/django_simple/todo/templates/index.html index 33bbd55..608de37 100644 --- a/django_simple/todo/templates/index.html +++ b/django_simple/todo/templates/index.html @@ -16,10 +16,18 @@
{{ variable }}
+
{% if not user|is_lazy_user %} + {% if tasks_count > 123 %} +
  • +
    + Too many jobs saved. Delete some before adding a new job. +
    +
  • + {% else %}
  • {% csrf_token %} @@ -35,8 +43,14 @@
  • + {% endif %} {% endif %}
  • +
    + Total jobs saved {{tasks_count }}. Maximum is 123. +
    +
  • +
  • done
    @@ -60,6 +74,11 @@ {{ task.running }}% + {% if task.running == 100 %} + + postprocessing + + {% endif %} {% else %} {% endif %}