{% extends '@OroUI/actions/view.html.twig' %} {% import '@OroDataGrid/macros.html.twig' as dataGrid %} {% import '@OroActivity/macros.html.twig' as AC %} {% oro_title_set({params : {"%subject%": entity.subject|default('N/A'|trans) }}) %} {% block navButtons %} {% import '@OroActivity/macros.html.twig' as AC %} {% import '@OroUI/macros.html.twig' as UI %} {% if is_granted('EDIT', entity) %} {# Button for add context on the activity list item view page #} {{ AC.addContextButton(entity) }} {{ UI.editButton({ 'path' : path('oro_call_update', { id: entity.id }), 'entity_label': 'oro.call.entity_label'|trans }) }} {% endif %} {% if is_granted('DELETE', entity) %} {{ UI.deleteButton({ 'dataUrl': path('oro_api_delete_call', {'id': entity.id}), 'dataRedirect': path('oro_call_index'), 'aCss': 'no-hash remove-button', 'dataId': entity.id, 'entity_label': 'oro.call.entity_label'|trans }) }} {% endif %} {% endblock navButtons %} {% block stats %} {% import '@OroActivity/macros.html.twig' as AC %} {# Display contexts targets in the activity view page #}