Skip to content

Commit

Permalink
Merge 928425f into db72e75
Browse files Browse the repository at this point in the history
  • Loading branch information
acrobat committed Oct 25, 2019
2 parents db72e75 + 928425f commit e7be288
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
{% if adminlist.configurator is instanceof('Kunstmaan\\AdminListBundle\\AdminList\\Configurator\\ChangeableLimitInterface') %}
<div class="container-fluid">
<div class="dropdown pull-right">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">{{ 'kuma_admin_list.limit'|trans({'%limit%': adminlist.configurator.limit}) }}</button>
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">
{{ 'kuma_admin_list.limit'|trans({'%limit%': adminlist.configurator.limit}) }}
<i class="fa fa-caret-down"></i>
</button>
<ul class="dropdown-menu">
{% for option in adminlist.configurator.getLimitOptions() %}
<li><a href="?limit={{ option }}">{{ option }}</a></li>
{% endfor %}
</ul>
</div>
</div>
{% endif %}
{% endif %}

0 comments on commit e7be288

Please sign in to comment.