{% 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 = feed.get_user_link(app['phraseanet.registry'], app['authentication'].getUser(), 'rss') %}
{% set link = feed.get_user_link(app['phraseanet.registry'], app['authentication'].getUser(), 'atom') %}
{% endfor %}
{% endblock %}
{% block stylesheet %}
{% endblock %}
{% block javascript %}
{% include "common/templates.html.twig" %}
{% endblock %}
{% block content %}
{% set search_datas = module_prod.get_search_datas() %}
Phraseanet
{% trans 'Chargement' %}
{% if app.flash('client_deprecated') %}
{{ 'Client application is deprecated'|trans }}
{{ 'You have been redirected to production application.'|trans }}
{% endif %}
{% set ratio = app['authentication'].getUser().getPrefs('search_window') %}
{% if ratio == 0 %}
{% set ratio = '0.333' %}
{% endif %}
{% set w1 = (100 * ratio)|round %}
{% set w2 = (100 - w1) %}