{% macro bas_list(module, search_datas) %} {% set unique_id = module.getRandom() %} {% for base in search_datas['bases'] %} {% set sbas_id = base['sbas_id'] %}
{% 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['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 %} {% if step %} {% endif %} {% endblock %} {% block javascript %} {% include "common/templates.html.twig" %} {% endblock %} {% block content %}
Phraseanet
{{ 'Chargement' | trans }}
{% if app.flash('client_deprecated') %} {% endif %} {% 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) %}
{% import 'prod/WorkZone/Macros.html.twig' as WorkZoneMacros %} {{WorkZoneMacros.make_bloc(app, WorkZone)}}
{% if GV_thesaurus %}
    {% for base in search_datas['bases'] %} {% if base['thesaurus'] %}
  • {{base['sbas_id']|sbas_labels(app)}}
      {{ 'chargement' | trans }}
  • {% endif %} {% endfor %}
{% if app['acl'].get(app['authentication'].getUser()).has_access_to_module('thesaurus') %}
    {% for base in search_datas['bases'] %} {% if base['cterms'] %}
  • {{base['sbas_id']|sbas_labels(app)}}
      {{ 'chargement' | trans }}
  • {% endif %} {% endfor %}
{% endif %}
{% endif %}
{% if GV_multiAndReport %} {% else %} {% endif %}
{% set actions = {} %} {% if app['acl'].get(app['authentication'].getUser()).has_right('modifyrecord') %} {% set label %} {{ 'action : editer' | trans }} {% endset %} {% set actions = actions|merge( { 'edit' : {'icon': "/skins/prod/000000/images/ppen_history.png", 'class':'TOOL_ppen_btn', 'label' : label} }) %} {% endif %} {% if app['acl'].get(app['authentication'].getUser()).has_right('changestatus') %} {% set label %} {{ 'action : status' | trans }} {% endset %} {% set actions = actions|merge( { 'status' : {'icon': "/skins/prod/000000/images/chgstatus_history.png", 'class':'TOOL_chgstatus_btn', 'label' : label} }) %} {% endif %} {% if app['acl'].get(app['authentication'].getUser()).has_right('deleterecord') and app['acl'].get(app['authentication'].getUser()).has_right('addrecord') %} {% set label %} {{ 'action : collection' | trans }} {% endset %} {% set actions = actions|merge( { 'move' : {'icon': "/skins/prod/000000/images/chgcoll_history.png", 'class':'TOOL_chgcoll_btn', 'label' : label} }) %} {% endif %} {% set n_actions = actions|length %} {% if n_actions > 1 %}
{% for action in actions %} {% if loop.first %} {% 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') %} {% elseif app['acl'].get(app['authentication'].getUser()).has_right('push') %}
{% elseif app['acl'].get(app['authentication'].getUser()).has_right('bas_chupub') %}
{% endif %} {% if app['acl'].get(app['authentication'].getUser()).has_right('doctools') %}
{% endif %} {% if app['acl'].get(app['authentication'].getUser()).has_right('deleterecord') %}
{% endif %} {{ 'Preferences' | trans }}
{% endblock %} {% block extra_content %}
{{cgus_agreement|raw}}
   
{% if GV_google_api is not empty %}
{% endif %}
{{ 'boutton::fermer' | trans }}
{% if step %} {% endif %} {% if step %} {% endif %} {% endblock %}