{% extends "common/index.html.twig" %} {% block javascript %} {# #} {% endblock %} {% block stylesheet %} {% endblock %} {% block icon %} {% endblock %} {% macro valid_baskets_length(baskets) %} {% set number = 0 %} {% for item in baskets %} {% if item.isVoteBasket() %} {% set number = number + 1 %} {% endif %} {% endfor %} {{number}} {% endmacro %} {% macro baskets_length(baskets) %} {% set number = 0 %} {% for item in baskets %} {% if not item.isVoteBasket %} {% set number = number + 1 %} {% endif %} {% endfor %} {{number}} {% endmacro %} {% block content %}

{{module_name}}

{{ 'a propos' | trans }}
{{ 'Back' | trans }}

{{ 'a propos' | trans }}

Phraseanet Version {{ app['phraseanet.version'].getName() }} - {{ app['phraseanet.version'].getNumber() }}

License GNU GPL v3

© Copyright Alchemy 2005-{{ "now"|date("Y") }}

{{ 'Back' | trans }}

{{ module_name }}

{{ 'Validations' | trans }} {{_self.valid_baskets_length(baskets_collection)}}

    {% for basket in baskets_collection | sort | reverse%} {% if basket.isVoteBasket() %} {% set basket_length = basket.getElements().count() %}
  • {% if basket.getElements().first() %} {% endif %}

    {{basket.getName()}}

    {#

    {{ basket.getDescription() }}

    #} {{ basket_length }}
  • {% endif %} {% endfor %}
{{ 'Back' | trans }}

{{module_name}}

{{ 'Paniers' | trans }} {{_self.baskets_length(baskets_collection)}}

    {% for basket in baskets_collection | sort | reverse %} {% if not basket.isVoteBasket() %} {% set basket_length = basket.getElements().count() %}
  • {% if basket.getElements().first() %} {% endif %}

    {{ basket.getName() }}

    {#

    {{ basket.getDescription() }}

    #} {{basket_length}}
  • {% endif %} {% endfor %}
{% endblock %}