From 8ec9f1112bbfe05a1f78751cfa8142797a7706ac Mon Sep 17 00:00:00 2001 From: bashmak Date: Sun, 16 Apr 2017 13:16:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BF=D0=BE=D0=B4=D1=81=D0=B2=D0=B5=D1=82=D0=BA=D1=83?= =?UTF-8?q?=20=D0=B7=D0=B0=D0=B4=D0=B0=D1=87=20=D0=B2=D0=B5=D0=B7=D0=B4?= =?UTF-8?q?=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- taskapp/templates/taskapp/tasklist.html | 15 ++++++++++----- taskapp/templates/taskapp/tasklist_active.html | 15 ++++++++++----- taskapp/templates/taskapp/tasklist_finish.html | 15 ++++++++++----- taskapp/templates/taskapp/tasklist_own.html | 15 ++++++++++----- 4 files changed, 40 insertions(+), 20 deletions(-) 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 }}