vendor/sonata-project/admin-bundle/src/Resources/views/CRUD/list__action_show.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('show', object) and admin.hasRoute('show') %}
  8.     <a
  9.         href="{{ admin.generateObjectUrl('show', object, actions.link_parameters|default([])) }}"
  10.         class="btn btn-sm btn-default view_link"
  11.         title="{{ 'action_show'|trans({}, 'SonataAdminBundle') }}"
  12.     >
  13.         <i class="fa fa-eye" aria-hidden="true"></i>
  14.         {{ 'action_show'|trans({}, 'SonataAdminBundle') }}
  15.     </a>
  16. {% endif %}