{% extends "prod/actions/Bridge/wrapper.html.twig" %} {% import "common/thumbnail.html.twig" as thumb %} {% block menu %} {% endblock %} {% block response %}
Statut | Date de demande | Date dupload | {%for element in elements %}||
{{thumb.format(element.get_record().get_thumbnail, 40, 40, "", true, false)}}
|
{% if element.get_title() %} {% set title = element.get_title() %} {% else %} {% set title = element.get_record().get_title() %} {% endif %} {% if element.build_connector_element() is not empty %} {{ title }} {% else %} {{ title }} {% endif %} | {% if element.get_status is constant('Bridge_Element::STATUS_DONE') %} OK {% elseif element.get_status is constant('Bridge_Element::STATUS_PENDING') %} {{ 'En attente' | trans }} {% elseif element.get_status is constant('Bridge_Element::STATUS_PROCESSING') %} {{ 'En cours d\'envoi' | trans }} {% elseif element.get_status is constant('Bridge_Element::STATUS_PROCESSING_SERVER') %} {{ 'En cours d\'encodage' | trans }} {% else %} {{ account.get_api().get_error_message_from_status(element.get_connector_status()) }} {% endif %} | {{ app['date-formatter'].getPrettyString(element.get_created_on()) }} | {{ app['date-formatter'].getPrettyString(element.get_uploaded_on()) }} |