{% extends '@OroUI/actions/view.html.twig' %} {% import '@OroUI/macros.html.twig' as UI %} {% import '@OroEntityConfig/macros.html.twig' as entityConfig %} {% import '@OroActivity/macros.html.twig' as AC %} {% oro_title_set({params : { "%entity.title%": entity.title|default('N/A'|trans), "%parent.name%": entity.systemCalendar.name }}) %} {% block navButtons %} {% import '@OroActivity/macros.html.twig' as AC %} {% import '@OroUI/macros.html.twig' as UI %} {% if editable %} {# Button for add context on the activity list item view page #} {{ AC.addContextButton(entity) }} {{ UI.editButton({ 'path' : path('oro_system_calendar_event_update', { id: entity.id }), 'entity_label': 'oro.calendar.calendarevent.entity_label'|trans }) }} {% endif %} {% if removable %} {{ UI.deleteButton({ 'dataUrl': path('oro_calendar_event_delete', {'id': entity.id}), 'dataRedirect': path('oro_system_calendar_view', {'id': entity.systemCalendar.id}), 'aCss': 'no-hash remove-button', 'dataId': entity.id, 'entity_label': 'oro.calendar.calendarevent.entity_label'|trans }) }} {% endif %} {% endblock navButtons %} {% block stats %} {% import '@OroActivity/macros.html.twig' as AC %} {# Display contexts targets in the activity view page #}