Skip to content

Commit

Permalink
Merge pull request #1917 from jbinfo/patch-1
Browse files Browse the repository at this point in the history
set content list to span12 when filter is empty
  • Loading branch information
rande committed Jan 23, 2014
2 parents 5e8c2ce + f6d74a5 commit a4e22f8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Resources/views/standard_layout.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,14 @@ file that was distributed with this source code.

{% if _list_table is not empty or _list_filters is not empty %}
<div class="row-fluid">
<div class="sonata-ba-list span10">
<div class="sonata-ba-list {% if _list_filters|trim %}span10{% else %}span12{% endif %}">
{{ _list_table|raw }}
</div>
<div class="sonata-ba-filter span2">
{{ _list_filters|raw }}
</div>
{% if _list_filters|trim %}
<div class="sonata-ba-filter span2">
{{ _list_filters|raw }}
</div>
{% endif %}
</div>
{% endif %}

Expand Down

0 comments on commit a4e22f8

Please sign in to comment.