write postprocessing for 100%
authorCezary Czaplewski <czarek@chem.univ.gda.pl>
Wed, 12 Feb 2020 17:45:17 +0000 (18:45 +0100)
committerCezary Czaplewski <czarek@chem.univ.gda.pl>
Wed, 12 Feb 2020 17:45:17 +0000 (18:45 +0100)
django_simple/todo/templates/details.html
django_simple/todo/templates/index.html

index 0c2a6cc..3466e5c 100644 (file)
@@ -60,6 +60,9 @@ Created {{ task.created_date  }}
                                                <span class="fa fa-spinner
                                                fa-spin"></span>
                                                {{ task.running }}%
+                                             {% if task.running == 100  %}
+                                             postprocessing
+                                             {% endif %}
                                          {% else %}
                                                <span class="fa fa-square-o"></span>
                                          {% endif %}
index d122d6b..608de37 100644 (file)
                                                <span class="fa fa-spinner
                                                fa-spin"></span>
                                                {{ task.running }}%
+                                            {% if task.running == 100  %}
+                                            <font size="2">
+                                            postprocessing
+                                            </font>
+                                            {% endif %}
                                          {% else %}
                                                <span class="fa fa-square-o"></span>
                                          {% endif %}