{% trans 'Back to basket list' %}

{% if Basket.getValidation() is empty or Basket.getValidation().isInitiator(user) %} {% endif %} {{ Basket.getName() }}

{% set top = 0 %} {% if Basket.getPusher() %} {% set top = top + 40 %}

{% set user_name = '' ~ Basket.getPusher().get_display_name() ~ '' %} {% trans %} Received from {{ user_name }} {% endtrans %}

{% endif %} {% if Basket.getValidation() %} {% set top = top + 160 %}

{% set list_participants = '' %} {% for Participant in Basket.getValidation().getParticipants() %} {% if list_participants != '' %} {% set list_participants = list_participants ~ ', ' %} {% endif %} {% set list_participants = list_participants ~ '' ~ Participant.getUser().get_display_name ~ '' %} {% endfor %} {% trans %} Sent for validation to {{ list_participants }} {% endtrans %}

{% endif %} {% set top = top + 40 %}
{% set ElementsCount = Basket.getElements().count() %} {% if ElementsCount == 0 %} {% trans 'No records' %} {% elseif ElementsCount == 1 %} {% trans '1 record' %} {% else %} {% trans %}{{ ElementsCount }} records{% endtrans %} {% endif %}
{% set top = top + 40 %} {% import 'common/thumbnail.html' as thumbnail %}
{% for BasketElement in Basket.getElements() %} {% set record = BasketElement.getRecord() %}
{{record.get_original_name()}}
{{thumbnail.format(record.get_thumbnail,140,140, '', session, true)}}
{% endfor %}