{% extends 'OroUIBundle:actions:index.html.twig' %} {% import 'OroUIBundle::macros.html.twig' as UI %} {% set gridName = 'warehouse-grid' %} {% set pageTitle = 'oro.warehouse.entity_plural_label'|trans %} {% block navButtons %} {% if resource_granted('oro_warehouse_create') %} {{ UI.addButton({ 'path': path('oro_warehouse_create'), 'entity_label': 'oro.warehouse.entity_label'|trans }) }} {% endif %} {% endblock %}