{% extends '@OroUI/actions/view.html.twig' %} {% import '@OroUI/macros.html.twig' as UI %} {% import '@OroDataGrid/macros.html.twig' as dataGrid %} {% import '@OroEntityConfig/macros.html.twig' as entityConfig %} {% oro_title_set({params : {"%entityName%": entity_config.get('label')|default('N/A')|trans }}) %} {% if is_granted('oro_entityconfig_manage') %} {% set audit_entity_class = entity.classname|replace({'\\':'_'}) %} {% set audit_title = entity_config.get('label')|default(entity_name)|trans %} {% set audit_path = 'oro_entityconfig_audit' %} {% set audit_show_change_history = true %} {% endif %} {% block navButtons %} {% import '@OroUI/macros.html.twig' as UI %} {% if is_granted('oro_entityconfig_manage') and is_granted('EDIT', entity) %} {% if extend_config.is('is_extend') %} {% include '@OroImportExport/ImportExport/buttons_from_configuration.html.twig' with { 'alias': 'oro_field_config_model', 'options': {'entity_id': entity.id} } %} {% endif %} {{ UI.editButton({'path': path('oro_entityconfig_update', { id: entity.id })}) }} {{ entityConfig.displayLayoutActions(button_config) }} {% endif %} {% endblock navButtons %} {% block pageHeader %} {% set breadcrumbs = { 'entity': entity, 'indexPath': path('oro_entityconfig_index'), 'indexLabel': 'oro.entity_config.entity.plural_label'|trans, 'entityTitle': entity_config.get('label')|default(entity_name)|trans, }%} {{ parent() }} {% endblock pageHeader %} {% block stats %} {% import '@OroUI/macros.html.twig' as UI %}