{% extends 'base.html.twig' %} {% set menu = 'resources' %} {% block body %} {% include '_partials/back_button.html.twig' with { url: path('user_index'), text: "users.back"|trans } %}
{{ calendar.description }}
{% if calendar.calendar.components|split(',')|length > 0 %} {% if constant('\\App\\Entity\\Calendar::COMPONENT_EVENTS') in calendar.calendar.components %}{{ "calendars.component.events"|trans }}{% endif %} {% if constant('\\App\\Entity\\Calendar::COMPONENT_NOTES') in calendar.calendar.components %}{{ "calendars.component.notes"|trans }}{% endif %} {% if constant('\\App\\Entity\\Calendar::COMPONENT_TODOS') in calendar.calendar.components %}{{ "calendars.component.todos"|trans }}{% endif %} {% endif %} — {{ "calendars.entries"|trans({'%count%': calendar.calendar.objects|length}) }}{{ calendar.description }}
{% if calendar.calendar.components|split(',')|length > 0 %} {% if constant('\\App\\Entity\\Calendar::COMPONENT_EVENTS') in calendar.calendar.components %}{{ "calendars.component.events"|trans }}{% endif %} {% if constant('\\App\\Entity\\Calendar::COMPONENT_NOTES') in calendar.calendar.components %}{{ "calendars.component.notes"|trans }}{% endif %} {% if constant('\\App\\Entity\\Calendar::COMPONENT_TODOS') in calendar.calendar.components %}{{ "calendars.component.todos"|trans }}{% endif %} {% endif %} — {{ "calendars.entries"|trans({'%count%': calendar.calendar.objects|length}) }}