vendor/sonata-project/admin-bundle/src/Resources/views/Button/list_button.html.twig line 1

Open in your IDE?
  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.hasAccess('list') and admin.hasRoute('list') %}
  8.     <li>
  9.         <a class="sonata-action-element" href="{{ admin.generateUrl('list') }}">
  10.             <i class="fas fa-list" aria-hidden="true"></i>
  11.             {{ 'link_action_list'|trans({}, 'SonataAdminBundle') }}
  12.         </a>
  13.     </li>
  14. {% endif %}