Skip to content

Commit

Permalink
Merge pull request #33 from MyDataTaiwan/feature-fix-issue-28
Browse files Browse the repository at this point in the history
Ignore rows with photo in symptom view
  • Loading branch information
shc261392 authored Jun 10, 2020
2 parents e4632b4 + df47fde commit a102966
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,10 @@ <h6>{% trans "Locations" %}</h6>
<tr>
<th></th>
{% for object in records %}
{% if object.content.photos.0.byteString == None %}
<td class="center-align demo">{{ object.timestamp }}</td>
<!-- <td >{{ object.timestamp }}</td> -->
{% endif %}
{% endfor %}
</tr>
{% for symptom in records.0.content.symptoms.list %}
Expand All @@ -353,12 +355,14 @@ <h6>{% trans "Locations" %}</h6>
<tr>
<th>Verified</th>
{% for object in records %}
{% if object.content.photos.0.byteString == None %}
<td class="center-align">
{% if object.verification %}
<img src="{% static "media/mylog14-verify.png" %}"
class="responsive-img" style="width:30%; opacity: 0.5">
{% endif %}
</td>
{% endif %}
{% endfor %}
</tr>
</table>
Expand Down

0 comments on commit a102966

Please sign in to comment.