{% extends "base.html" %} {% block title %} SAR job details {% endblock %} {% block content %}
Created at: {{ sar.SARCall.created }} Last updated: {{ sar.SARCall.updated }} Coordination manager: {{ sar.SARCall.coordination_officer.full_name }} Search manager: {{ sar.SARCall.search_officer.full_name }} Status: {{ sar.SARStatus.name }} {% if is_logged_in %}Category: {{ sar.SARCategory.name }} {% endif %}Start Date: {{ sar.SARCall.start_date }} Finish Date: {{ sar.SARCall.finish_date }} Result: {{ sar.SARResult.name }} |
IPP longitude: {{ sar.SARCall.longitude }} IPP latitude: {{ sar.SARCall.latitude }} Longitude found: {{ sar.SARCall.longitude_found }} Latitude found: {{ sar.SARCall.latitude_found }} Description: {{ sar.SARCall.description }} {% if is_logged_in %}Description private: {{ sar.SARCall.description_hidden }} {% endif %} |
{% set ns=namespace(has_file = false) %} {% set fs=namespace(filename = 0) %} {% for file in comments_with_attachment %} {% if file.comment_id == comment.id %} {% set ns.has_file = true %} {% if file.is_image %} {% else %} {{ file.file_name }} {% endif %} {% set fs.filename = file.id %} {% endif %} {% endfor %} {% if is_logged_in %} {% if ns.has_file %}
{% else %} {% endif %} {% endif %} {% endif %}
{{ comment.text }}