From df47fde401a47a1ec88c08c183bc39d186b812ac Mon Sep 17 00:00:00 2001 From: James Chien Date: Wed, 10 Jun 2020 10:29:21 +0800 Subject: [PATCH] Ignore rows with photo in symptom view Signed-off-by: James Chien --- .../archives/templates/dashboard/dashboard_detail2.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/applications/archives/templates/dashboard/dashboard_detail2.html b/applications/archives/templates/dashboard/dashboard_detail2.html index 5b968e2..6b6fc8b 100644 --- a/applications/archives/templates/dashboard/dashboard_detail2.html +++ b/applications/archives/templates/dashboard/dashboard_detail2.html @@ -301,8 +301,10 @@
{% trans "Locations" %}
{% for object in records %} + {% if object.content.photos.0.byteString == None %} {{ object.timestamp }} + {% endif %} {% endfor %} {% for symptom in records.0.content.symptoms.list %} @@ -324,12 +326,14 @@
{% trans "Locations" %}
Verified {% for object in records %} + {% if object.content.photos.0.byteString == None %} {% if object.verification %} {% endif %} + {% endif %} {% endfor %}