Skip to content

Commit

Permalink
Always show the "Select" button in "sonata_type_model_list" (sonata-p…
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 authored and soullivaneuh committed Jun 7, 2016
1 parent f514ed2 commit caba812
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions Resources/public/css/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@ div.sonata-actions {
font-weight: bold;
}

.sonata-ba-list tr:hover td.sonata-ba-list-field.sonata-ba-list-field-select a {
visibility: visible;
}

td.sonata-ba-list-field.sonata-ba-list-field-boolean i {
margin-right: 1ex;
}
Expand All @@ -132,9 +128,6 @@ td.sonata-ba-list-field.sonata-ba-list-field-integer {
td.sonata-ba-list-field.sonata-ba-list-field-select {
text-align: center;
}
td.sonata-ba-list-field.sonata-ba-list-field-select a {
visibility: hidden;
}

div.sonata-ba-modal-edit-one-to-one td.sonata-ba-list-field-batch,
div.sonata-ba-modal-edit-one-to-one div.sonata-ba-list-actions,
Expand Down
4 changes: 2 additions & 2 deletions Resources/views/CRUD/list__select.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ file that was distributed with this source code.
{% extends admin.getTemplate('base_list_field') %}

{% block field %}
<a class="btn btn-default" href="{{ admin.generateUrl('list') }}">
<i class="fa fa-arrow-right"></i>
<a class="btn btn-primary" href="{{ admin.generateUrl('list') }}">
<i class="fa fa-check"></i>
{{ 'list_select'|trans({}, 'SonataAdminBundle') }}
</a>
{% endblock %}

0 comments on commit caba812

Please sign in to comment.