{% extends "base.html" %} {% load static %} {% load i18n %} {% load observation_tags %} {% load short_name %} {% load mention_tags %} {% block head %} {% endblock head %} {% block content %}
{% if is_creator %} {% translate "Des informations complémentaires sont nécessaires pour traiter votre observation. Vous pouvez modifier la fiche pour corriger/compléter les données (photos, checklist, description) ou répondre directement ci-dessous dans la discussion." %} {% else %} {% translate "Cette observation est en attente d'informations complémentaires de la part de l'observateur." %} {% endif %}
{% if is_creator %}{{ observation.description|default:"-" }}
{{ observation.address }}
{% if observation.thematic %} {{ observation.thematic.name }} {% else %} - {% endif %}
{% if observation.category %} {% if observation.category.parent %} {{ observation.category.parent.get_name }} - {{ observation.category.get_name }} {% else %} {{ observation.category.get_name }} {% endif %} {% else %} - {% endif %}
{{ observation.symptom }}
| {% translate "Élément" %} | {% translate "Valeur" %} | {% translate "Commentaire" %} |
|---|---|---|
|
{{ item_data.item.get_name }}
{% if item_data.item.get_description %}
{{ item_data.item.get_description }}
{% endif %}
|
{% if item_data.response %} {% if item_data.item.item_type == 'boolean' %} {% if item_data.response.value_boolean %} {% translate "Oui" %} {% elif item_data.response.value_boolean == False %} {% translate "Non" %} {% else %} - {% endif %} {% elif item_data.item.item_type == 'text' %} {{ item_data.response.value_text|default:"-"|truncatewords:10 }} {% elif item_data.item.item_type == 'number' %} {{ item_data.response.value_number|default:"-" }} {% elif item_data.item.item_type == 'choice' %} {% display_choice_value item_data.item item_data.response.value_choice %} {% elif item_data.item.item_type == 'choice_multiple' %} {% display_choice_value item_data.item item_data.response.value_choices %} {% endif %} {% else %} - {% endif %} | {% if item_data.response and item_data.response.comment %} {{ item_data.response.comment }} {% else %} - {% endif %} |
{{ observation.created_at|date:"d/m/Y H:i" }}
{% if observation.created_by %} {{ observation.created_by|short_name }}{% with comp=observation.created_by|user_company %}{% if comp %} ({{ comp }}){% endif %}{% endwith %} {% else %} - {% endif %}
{% translate "Aucun commentaire." %}
{% endif %}{% translate "Aucun message." %}
{% endif %} {% if can_post_discussion_message %} {% endif %}