{% if case.state == "O" %}
{% endif %}
{% if case.description %}
Description:
{{ case.description }}
{% endif %}
Status:
{{ case.get_state_display }}
Owner:
{{ case.owner.username }}
Created at:
{{ case.created_at }}
Case Id:
{{ case.id }}
{% if pagename == "list" %} {% if tasks %} {% for task in tasks %} {% endfor %} {% else %} {% endif %}
File name Status Owner Submitted at
{% if task.state == "C" %} {{ task.file_name }} {% else %} {{ task.file_name }} {% endif %} {{ task.get_state_display }} {{ task.owner.username }} {{ task.created_at }}
No data available in table
{% if tasks %} {% endif %} {% elif pagename == "owned" %} {% if tasks %} {% for task in tasks %} {% endfor %} {% else %} {% endif %}
File name Status Submitted at
{% if task.state == "C" %} {{ task.file_name }} {% else %} {{ task.file_name }} {% endif %} {{ task.get_state_display }} {{ task.created_at }}
No data available in table
{% if tasks %} {% endif %} {% elif pagename == "others" %} {% if tasks %} {% for task in tasks %} {% endfor %} {% else %} {% endif %}
File name Status Owner Submitted at
{% if task.state == "C" %} {{ task.file_name }} {% else %} {{ task.file_name }} {% endif %} {{ task.get_state_display }} {{ task.owner.username }} {{ task.created_at }}
No data available in table
{% if tasks %} {% endif %} {% elif pagename == "thumb" %} {% include "analyses/cases/_thum_image.html" with images=tasks %} {% if tasks %} {% else %}
Warning! there are not any photos.
{% endif %} {% elif pagename == "map" %} {% include "analyses/cases/_map_image.html" with images=tasks %} {% endif %}