{% 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' %}
{% set step = app.flash('step_by_step') %}
{% 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.getAuthenticatedUser(), 'rss') %}
{% set link = app['feed.user-link-generator'].generate(feed, app.getAuthenticatedUser(), 'atom') %}
{% endfor %}
{% set link = app['feed.aggregate-link-generator'].generate(aggregate, app.getAuthenticatedUser(), 'rss') %}
{% set link = app['feed.aggregate-link-generator'].generate(aggregate, app.getAuthenticatedUser(), '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.getAuthenticatedUser(), 'search_window') %}
{% if ratio == 0 %}
{% set ratio = '0.333' %}
{% endif %}
{% set w1 = (100 * ratio)|round %}
{% set w2 = (100 - w1) %}
{% block tabs_panel %}
{% include 'prod/tab_headers.html.twig' %}
{% import 'prod/WorkZone/Macros.html.twig' as WorkZoneMacros %}
{{WorkZoneMacros.make_bloc(app, WorkZone)}}
{% if GV_thesaurus %}
{% include 'prod/tab_thesaurus.html.twig' with {has_access_to_module: app.getAclForUser(app.getAuthenticatedUser()).has_access_to_module('thesaurus')} %}
{% endif %}
{% endblock %}
{% if plugins.workzone is not empty %}
{% for pluginId, plugin in plugins.workzone %}
{% include plugin.getWorkzoneTemplate() with {'app': app, 'plugin_id': pluginId} only %}
{% endfor %}
{% if app['conf'].get(['registry', 'modules', 'stories']) and app.getAclForUser(app.getAuthenticatedUser()).has_right(constant('\\ACL::CANADDRECORD')) %}