{% extends 'base.html.twig' %} {% import "macros/widgets.html.twig" as widgets %} {% import "calendar/actions.html.twig" as actions %} {% block page_title %}{{ 'calendar.title'|trans }}{% endblock %} {% block page_actions %}{{ actions.calendar('index') }}{% endblock %} {% block main %}
{% set hasDragAndDrop = (dragAndDrop is not empty and (dragAndDrop|filter(s => s.entries|length > 0)|length > 0)) %} {% if hasDragAndDrop %} {% endif %}
{% embed '@AdminLTE/Widgets/box-widget.html.twig' %} {% block box_body_class %}no-padding{% endblock %} {% block box_body %}
{% endblock %} {% endembed %}
{% endblock %} {% block stylesheets %} {{ parent() }} {{ encore_entry_link_tags('calendar') }} {% endblock %} {% block head %} {{ parent() }} {{ encore_entry_script_tags('calendar') }} {% endblock %} {% block javascripts %} {% set calendarSelector = '#timesheet_calendar' %} {{ parent() }} {% endblock %}