diff --git a/taskapp/templates/taskapp/tasklist.html b/taskapp/templates/taskapp/tasklist.html index 686653f..92f79e3 100644 --- a/taskapp/templates/taskapp/tasklist.html +++ b/taskapp/templates/taskapp/tasklist.html @@ -20,14 +20,19 @@ {% for task in tasks %} - {% if task.priority == 'E' %} - + {% if task.is_outdated %} + + {% else %} + {% if task.priority == 'E' %} + {% elif task.priority == 'C' %} - + {% elif task.priority == 'A' %} - + {% else %} - {% endif %} + + {% endif %} + {% endif %} {{ task.id }} {{ task.descr }} diff --git a/taskapp/templates/taskapp/tasklist_active.html b/taskapp/templates/taskapp/tasklist_active.html index f9926e6..531a318 100644 --- a/taskapp/templates/taskapp/tasklist_active.html +++ b/taskapp/templates/taskapp/tasklist_active.html @@ -20,14 +20,19 @@ {% for task in tasks %} - {% if task.priority == 'E' %} - + {% if task.is_outdated %} + + {% else %} + {% if task.priority == 'E' %} + {% elif task.priority == 'C' %} - + {% elif task.priority == 'A' %} - + {% else %} - {% endif %} + + {% endif %} + {% endif %} {{ task.id }} {{ task.descr }} diff --git a/taskapp/templates/taskapp/tasklist_finish.html b/taskapp/templates/taskapp/tasklist_finish.html index 14f12e1..c2ba0e3 100644 --- a/taskapp/templates/taskapp/tasklist_finish.html +++ b/taskapp/templates/taskapp/tasklist_finish.html @@ -20,14 +20,19 @@ {% for task in tasks %} - {% if task.priority == 'E' %} - + {% if task.is_outdated %} + + {% else %} + {% if task.priority == 'E' %} + {% elif task.priority == 'C' %} - + {% elif task.priority == 'A' %} - + {% else %} - {% endif %} + + {% endif %} + {% endif %} {{ task.id }} {{ task.descr }} diff --git a/taskapp/templates/taskapp/tasklist_own.html b/taskapp/templates/taskapp/tasklist_own.html index 5cf3ce0..04c953d 100644 --- a/taskapp/templates/taskapp/tasklist_own.html +++ b/taskapp/templates/taskapp/tasklist_own.html @@ -19,14 +19,19 @@ {% for task in tasks %} - {% if task.priority == 'E' %} - + {% if task.is_outdated %} + + {% else %} + {% if task.priority == 'E' %} + {% elif task.priority == 'C' %} - + {% elif task.priority == 'A' %} - + {% else %} - {% endif %} + + {% endif %} + {% endif %} {{ task.id }} {{ task.descr }}