{% extends 'OroUIBundle:actions:view.html.twig' %} {% import 'OroUIBundle::macros.html.twig' as UI %} {% import "OroActivityBundle::macros.html.twig" as AC %} {% import 'OroEntityConfigBundle::macros.html.twig' as entityConfig %} {% import 'OroUserBundle::macros.html.twig' as U %} {% oro_title_set({params : {"%entity.subject%": entity.subject|default('N/A'|trans) }}) %} {% block navButtons %} {% import 'OroActivityBundle::macros.html.twig' as AC %} {% import 'OroUIBundle::macros.html.twig' as UI %} {% placeholder view_navButtons with {entity: entity} %} {% if is_granted('EDIT', entity) %} {# Button for add context on the activity list item view page #} {{ AC.addContextButton(entity) }} {{ UI.editButton({ 'path' : path('oro_task_update', { id: entity.id }), 'entity_label': 'oro.task.entity_label'|trans }) }} {% endif %} {% endblock navButtons %} {% block stats %} {% import 'OroActivityBundle::macros.html.twig' as AC %} {# Display contexts targets in the activity view page #}