list_button.html.twig 478 B

12345678910111213141516
  1. {#
  2. This file is part of the Sonata package.
  3. (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  4. For the full copyright and license information, please view the LICENSE
  5. file that was distributed with this source code.
  6. #}
  7. {% if admin.hasroute('list') and admin.isGranted('LIST') %}
  8. <a class="sonata-action-element" href="{{ admin.generateUrl('list') }}">
  9. <i class="fa fa-list"></i>
  10. {{ 'link_action_list'|trans({}, 'SonataAdminBundle') }}</a>
  11. {% endif %}