{% if workspace is defined %} {% set calendarExtends = 'ClarolineCoreBundle:Workspace:layout.html.twig' %} {% else %} {% set calendarExtends = 'ClarolineCoreBundle:Desktop:layout.html.twig' %} {% endif %} {% extends calendarExtends %} {% set calendarPath = 'bundles/clarolineagenda/js/vendor/fullcalendar-2.3.1/' %} {% block title %} {% if workspace is defined %} {{ parent() ~ ' - ' ~ "agenda" | trans({}, "tools") | striptags | raw }} {% else %} {{ parent() ~ ' - ' ~ "agenda" | trans({}, "tools") | striptags | raw }} {% endif %} {% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block breadcrumb %} {% if workspace is defined %} {{ macros.workspaceBreadcrumbs( workspace, [ { 'name': 'agenda'|trans({}, 'tools'), 'href': '' } ] ) }} {% else %} {{ macros.desktopBreadcrumbs([ { 'name': 'agenda'|trans({}, 'tools'), 'href': '' } ]) }} {% endif %} {% endblock %} {% block section_content %}

{{ 'agenda'|trans({}, 'tools') }}

{% if workspace is defined %} {{ 'export'|trans({}, 'agenda') }} {% else %} {{ 'export'|trans({}, 'agenda') }} {% endif %} {% if canCreate is defined and canCreate and workspace is defined %} {{ 'import_agenda_file'|trans({}, 'agenda') }} {% elseif workspace is not defined %} {{ 'import_agenda_file'|trans({}, 'agenda') }} {% endif %}
{% if filters is defined and filters | length > 1 %}
{{'filter_ws'|trans({}, 'agenda')}}
{% for wsId, filterName in filters %}
  • {% endfor %}
    {% endif %}
    {{'filter_tasks'|trans({}, 'agenda')}}
    {{ 'form.priority'|trans({}, 'agenda') }}
    {{ 'high'|trans({}, 'agenda') }}
    {{ 'medium'|trans({}, 'agenda') }}
    {{ 'low'|trans({}, 'agenda') }}
    {% endblock %} {% block javascripts %} {{ parent() }} {% javascripts debug=false filter='twig_js, jsmin' vars=["locale"] "@ClarolineAgendaBundle/Resources/views/Agenda/eventContent.html.twig" %} {% endjavascripts %} {% endblock javascripts %}