{% extends 'base_wrapper.html.twig' %} {% if form is defined %} {% form_theme form 'forms.html.twig' %} {% endif %} {% block title %} {{title}} {% endblock %} {% block body %} Logo Ct search {% if no_menu is not defined or not no_menu %} {{'Dashboard'|trans}} {% if is_granted("ROLE_INDEX_MANAGER") or is_granted("ROLE_DATASOURCE_MANAGER") or is_granted("ROLE_MATCHING_LIST_MANAGER") or is_granted("ROLE_PROCESSOR_MANAGER") %} Data studio {% if is_granted("ROLE_INDEX_MANAGER") %} {{'Indexes'|trans}} {% endif %} {% if is_granted("ROLE_DATASOURCE_MANAGER") %} {{'Datasources'|trans}} {% endif %} {% if is_granted("ROLE_MATCHING_LIST_MANAGER") %} {{'Matching lists'|trans}} {% endif %} {% if is_granted("ROLE_PROCESSOR_MANAGER") %} {{'Processors'|trans}} {% endif %} {% if is_granted("ROLE_ADMIN") %} {{'Parameters'|trans}} {% endif %} {% endif %} Search {% if is_granted("ROLE_SEARCH_PAGE_MANAGER") %} {{'Search pages'|trans}} {% endif %} {% if is_granted("ROLE_AUTOPROMOTE_USER") %} {{'Auto-promote'|trans}} {% endif %} {% if is_granted("ROLE_BOOST_QUERY_MANAGER") %} {{'Boost queries'|trans}} {% endif %} {% if is_granted("ROLE_ANALYTICS_USER") or is_granted("ROLE_LOGS_VIEWER") or is_granted("ROLE_BACKUP_USER") or is_granted("ROLE_CONSOLE_USER") %} Tools {% if is_granted("ROLE_ANALYTICS_USER") %} {{'Analytics'|trans}} {% endif %} {% if is_granted("ROLE_LOGS_VIEWER") %} {{'Logs'|trans}} {% endif %} {% if is_granted("ROLE_BACKUP_USER") %} {{'Backups'|trans}} {% endif %} {% if is_granted("ROLE_CONSOLE_USER") %} {{'Console'|trans}} {% endif %} {% endif %} {% if is_granted("ROLE_ADMIN") %} Admin {{'Users'|trans}} {{'Groups'|trans}} {% endif %} {% endif %} {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %} {{ app.user.fullName }} ({{ app.user.username }}) {{'Logout'|trans}} {% endif %} {{title}} {% if app.session.get('messages') is defined and app.session.get('messages') is not null %} {%for message in app.session.get('messages')%} {{message.text|raw}} {%endfor%} {{ app.session.set('messages',null) }} {%endif%} {% block main_content %}{% endblock %} {% endblock %} {% block stylesheets %} {% endblock %} {% block javascripts %} {% if app.request.get('_route') == 'analytics' %} {% endif %} {% endblock %}