{# jQuery tab wrapper #}
{# tab nav bar #} {# upload tab content #}
{% if collections|length > 0 %}
{# action bar #} {##} {##}
{{ 'Select files...' | trans }}

{{ "Or" | trans }}


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

#} {#{{ 'You are using the HTML5 uploader.' | trans }}#} {#{% if not app['browser'].supportFileAPI() %}#} {#{{ 'Your browser does not support all HTML5 features properly.' | trans }}#} {#{% endif %}#} {#

#} {#
{# settings box #}
{{ 'upload:: Destination (collection) :' | trans }} :
{# collections list #} {% 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'] %} {% if app.getAclForUser(app.getAuthenticatedUser()).has_right_on_base(collection.get_base_id(), constant('\\ACL::CHGSTATUS')) %}
{{ '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 %}
{% endif %} {% endfor %} {% endfor %}
{# upload box #}
{{ 'Transmited files' | trans }} :
{# download box #}
{% else %} {{ 'You can not upload files' | trans }} {% endif %}
{% include "prod/templates/upload.html.twig" %}