{% extends 'default/base.html.twig' %} {% block custom_css %} {% endblock %} {% block content %} {{'Form.Return' | trans}}

{{'Table.Anomalie.View.Title' | trans}} {{ data.creadate | format_datetime('long', 'long', locale=app.request.getLocale()) }}

{{'Table.Anomalie.View.Declared' | trans}} {{sender.fullname~" ("~sender.email~")"}}
{{'Table.Anomalie.Module' | trans}}: {% if data.module == 1 %} {{ 'Form.Anomalie.Module.Dashboard' | trans}} {% elseif data.module == 2 %} {{ 'Form.Anomalie.Module.Variable' | trans}} {% elseif data.module == 3 %} {{ 'Form.Anomalie.Module.Update' | trans}} {% elseif data.module == 4 %} {{ 'Form.Anomalie.Module.Consultation' | trans}} {% elseif data.module == 5 %} {{ 'Form.Anomalie.Module.Publication' | trans}} {% elseif data.module == 6 %} {{ 'Form.Anomalie.Module.Notification' | trans}} {% elseif data.module == 7 %} {{ 'Form.Anomalie.Module.Parameter' | trans}} {% endif %}
{{'Form.Status' | trans}}: {% if data.statut == 1 %} {{'Form.Anomalie.Statut.Declared' | trans}} {% elseif data.statut == 2 %} {{'Form.Anomalie.Statut.Ongoing' | trans}} {% elseif data.statut == 3 %} {{'Form.Anomalie.Statut.Fixed' | trans}} {% elseif data.statut == 4 %} {{'Form.Anomalie.Statut.Evolution' | trans}} {% endif %}
{{'Table.Anomalie.Gravity' | trans}}: {% if data.gravity == 1 %} {{'Form.Anomalie.Statut.Declared' | trans}} {% elseif data.gravity == 2 %} {{'Form.Anomalie.Statut.Ongoing' | trans}} {% elseif data.gravity == 3 %} {{'Form.Anomalie.Statut.Fixed' | trans}} {% endif %}
{%set fic = root_path()~"/uploads/anomalie/"~data.id~"."~data.extFile %} {% if fileExists(fic) %} {{'Form.Anomalie.Attachment' | trans}}: {{'Message.Click' | trans}} {% endif %}
{{'Form.Anomalie.Description' | trans}} {{'Form.Anomalie.Solution' | trans}}
{{data.description}} {{data.solution}}
{% endblock %} {% block custom_js %} {% endblock %}