Skip to content

Commit

Permalink
Merge pull request sonata-project#2057 from EmmanuelVella/bs3-fixes
Browse files Browse the repository at this point in the history
Fix list action buttons css for bootstrap 3
rande committed Apr 10, 2014

Verified

This commit was signed with the committer’s verified signature.
matux Matias Pequeno
2 parents 929fcf0 + 4740b7d commit fccda3d
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Resources/views/CRUD/list__action_delete.html.twig
Original file line number Diff line number Diff line change
@@ -10,7 +10,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-small delete_link" title="{{ 'action_delete'|trans({}, 'SonataAdminBundle') }}">
<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>
{{ 'action_delete'|trans({}, 'SonataAdminBundle') }}
</a>
2 changes: 1 addition & 1 deletion Resources/views/CRUD/list__action_edit.html.twig
Original file line number Diff line number Diff line change
@@ -10,7 +10,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-small edit_link" title="{{ 'action_edit'|trans({}, 'SonataAdminBundle') }}">
<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>
{{ 'action_edit'|trans({}, 'SonataAdminBundle') }}
</a>
2 changes: 1 addition & 1 deletion Resources/views/CRUD/list__action_show.html.twig
Original file line number Diff line number Diff line change
@@ -10,7 +10,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-small view_link" title="{{ 'action_show'|trans({}, 'SonataAdminBundle') }}">
<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>
{{ 'action_show'|trans({}, 'SonataAdminBundle') }}
</a>

0 comments on commit fccda3d

Please sign in to comment.