{# jQuery tab wrapper #}
{# tab nav bar #} {# upload tab content #}
{#
{{ 'Choose files to add' | trans }} :
#} {# action bar #} {##} {##}

({% trans with {'%maxFileSizeReadable%' : maxFileSizeReadable} %}maximum : %maxFileSizeReadable%{% endtrans %})
#} {##} {##} {#

#} {#{{ 'You are using the Flash uploader.' | trans }}#} {#{% if not app['browser'].supportFileAPI() %}#} {#{{ 'This version does not allow you to access all the features offered by the HTML5 uploader' | trans }}#} {#{% endif %}#} {#

#} {#{% if app['browser'].supportFileAPI() %}#} {#{% endif %}#} {#
{# settings box #}
{{ 'upload:: Destination (collection) :' | trans }} :
{# collections list #} {% if collections|length > 0 %} {% set last_used_collection = app['settings'].getUserSetting(app.getAuthenticatedUser(), 'upload_last_used_collection') %} {# collections status #} {% for availableCollections in collections %} {% for collection in availableCollections['databox_collections'] %}
{{ 'upload:: Status :' | trans }} :
{% for bit, status in availableCollections['databox'].getStatusStructure() %} {% endfor %}
{% if status['img_off'] is not empty %} {% endif %} {{ status['labels_off_i18n'][app['locale']]|default('off') }} {{ status['labels_on_i18n'][app['locale']]|default('on') }} {% if status['img_on'] is not empty %} {% endif %}
{% endfor %} {% endfor %} {% else %} {{ 'You can not upload files' | trans }} {% endif %}
{# upload box #}
{{ 'Transmited files' | trans }} :
{# download box #}
{% include "prod/templates/upload.html.twig" %}