Przeglądaj źródła

Merge pull request #3303 from OskarStark/fa

use font-awesome icons instead of glyphicons
Oskar Stark 9 lat temu
rodzic
commit
9c8cac34b1

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

@@ -11,7 +11,7 @@ file that was distributed with this source code.
 
 {% if admin.isGranted('DELETE', object) and admin.hasRoute('delete') %}
     <a href="{{ admin.generateObjectUrl('delete', object) }}" class="btn btn-sm btn-default delete_link" title="{{ 'action_delete'|trans({}, 'SonataAdminBundle') }}">
-        <i class="glyphicon glyphicon-remove"></i>
+        <i class="fa fa-times"></i>
         {{ 'action_delete'|trans({}, 'SonataAdminBundle') }}
     </a>
 {% endif %}

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

@@ -11,7 +11,7 @@ file that was distributed with this source code.
 
 {% if admin.isGranted('EDIT', object) and admin.hasRoute('edit') %}
     <a href="{{ admin.generateObjectUrl('edit', object) }}" class="btn btn-sm btn-default edit_link" title="{{ 'action_edit'|trans({}, 'SonataAdminBundle') }}">
-        <i class="glyphicon glyphicon-edit"></i>
+        <i class="fa fa-pencil"></i>
         {{ 'action_edit'|trans({}, 'SonataAdminBundle') }}
     </a>
 {% endif %}

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

@@ -11,7 +11,7 @@ file that was distributed with this source code.
 
 {% if admin.isGranted('VIEW', object) and admin.hasRoute('show') %}
     <a href="{{ admin.generateObjectUrl('show', object) }}" class="btn btn-sm btn-default view_link" title="{{ 'action_show'|trans({}, 'SonataAdminBundle') }}">
-        <i class="glyphicon glyphicon-zoom-in"></i>
+        <i class="fa fa-search-plus"></i>
         {{ 'action_show'|trans({}, 'SonataAdminBundle') }}
     </a>
 {% endif %}