From db0d57675fb9f9eef43d98255b68639f56c69d40 Mon Sep 17 00:00:00 2001 From: Cezary Czaplewski Date: Wed, 12 Feb 2020 18:45:17 +0100 Subject: [PATCH] write postprocessing for 100% --- django_simple/todo/templates/details.html | 3 +++ django_simple/todo/templates/index.html | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/django_simple/todo/templates/details.html b/django_simple/todo/templates/details.html index 0c2a6cc..3466e5c 100644 --- a/django_simple/todo/templates/details.html +++ b/django_simple/todo/templates/details.html @@ -60,6 +60,9 @@ Created {{ task.created_date }} {{ task.running }}% + {% if task.running == 100 %} + postprocessing + {% endif %} {% else %} {% endif %} diff --git a/django_simple/todo/templates/index.html b/django_simple/todo/templates/index.html index d122d6b..608de37 100644 --- a/django_simple/todo/templates/index.html +++ b/django_simple/todo/templates/index.html @@ -74,6 +74,11 @@ {{ task.running }}% + {% if task.running == 100 %} + + postprocessing + + {% endif %} {% else %} {% endif %} -- 1.7.9.5