{% macro bas_list(module, search_datas) %}
{% set unique_id = module.getRandom() %}
{% for base in search_datas['bases'] %}
{% set sbas_id = base['sbas_id'] %}
{% for collection in base["collections"] %}
{% set base_id = collection["base_id"] %}
{% endfor %}
{% endfor %}
{% endmacro %}
{% set jquery_theme = 'dark-hive' %}
{% extends "common/index_bootstrap.html.twig" %}
{% block icon %}
{% endblock %}
{% block rss %}
{% for feed in feeds %}
{% set link = app['feed.user-link-generator'].generate(feed, app['authentication'].getUser(), 'rss') %}
{% set link = app['feed.user-link-generator'].generate(feed, app['authentication'].getUser(), 'atom') %}
{% endfor %}
{% set link = app['feed.aggregate-link-generator'].generate(aggregate, app['authentication'].getUser(), 'rss') %}
{% set link = app['feed.aggregate-link-generator'].generate(aggregate, app['authentication'].getUser(), 'atom') %}
{% endblock %}
{% block stylesheet %}
{% endblock %}
{% block javascript %}
{% include "common/templates.html.twig" %}
{% endblock %}
{% block content %}
{% set search_datas = module_prod.get_search_datas() %}
Phraseanet
{{ 'Chargement' | trans }}
{% set ratio = app['settings'].getUserSetting(app['authentication'].getUser(), 'search_window') %}
{% if ratio == 0 %}
{% set ratio = '0.333' %}
{% endif %}
{% set w1 = (100 * ratio)|round %}
{% set w2 = (100 - w1) %}
{% if not loop.last %}
{% endif %}
{% endif %}
{% endfor %}
{% elseif n_actions == 1 %}
{% for action in actions %}
{% endfor %}
{% endif %}
{% if app['acl'].get(app['authentication'].getUser()).has_right('push') and app['acl'].get(app['authentication'].getUser()).has_right('bas_chupub') %}