{% extends 'OroUIBundle:actions:view.html.twig' %} {% import 'OroUIBundle::macros.html.twig' as UI %} {% import 'OroEntityConfigBundle::macros.html.twig' as entityConfig %} {% oro_title_set({params : {"%entity.subject%": entity.subject|default('N/A') }}) %} {% block navButtons %} {% if resource_granted('EDIT', entity) %} {{ UI.editButton({ 'path' : path('orocrm_task_update', { id: entity.id }), 'entity_label': 'orocrm.task.entity_label'|trans }) }} {% endif %} {% if resource_granted('DELETE', entity) %} {{ UI.deleteButton({ 'dataUrl': path('orocrm_api_delete_task', {'id': entity.id}), 'dataRedirect': path('orocrm_task_index'), 'aCss': 'no-hash remove-button', 'id': 'btn-remove-user', 'dataId': entity.id, 'entity_label': 'orocrm.task.entity_label'|trans }) }} {% endif %} {% endblock navButtons %} {% block pageHeader %} {% set breadcrumbs = { 'entity': entity, 'indexPath': path('orocrm_task_index'), 'indexLabel': 'orocrm.task.entity_plural_label'|trans, 'entityTitle': entity.subject } %} {{ parent() }} {% endblock pageHeader %} {% block content_data %} {%- set taskInformation -%}