Browse Source

Merge branch 'pr/1294'

Thomas Rabaix 11 years ago
parent
commit
96a7368aed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Resources/views/CRUD/base_list_field.html.twig

+ 1 - 1
Resources/views/CRUD/base_list_field.html.twig

@@ -16,7 +16,7 @@ file that was distributed with this source code.
         and admin.isGranted(field_description.options.route.name == 'show' ? 'VIEW' : field_description.options.route.name|upper, object)
         and admin.isGranted(field_description.options.route.name == 'show' ? 'VIEW' : field_description.options.route.name|upper, object)
         and admin.hasRoute(field_description.options.route.name)
         and admin.hasRoute(field_description.options.route.name)
     %}
     %}
-        <a href="{{ admin.generateObjectUrl(field_description.options.route.name, object, field_description.options.route.parameters) }}">
+        <a class="sonata-link-identifier" href="{{ admin.generateObjectUrl(field_description.options.route.name, object, field_description.options.route.parameters) }}">
             {%- block field %}{{ value }}{% endblock -%}
             {%- block field %}{{ value }}{% endblock -%}
         </a>
         </a>
     {% else %}
     {% else %}