Skip to content

Commit

Permalink
Added pagination for thumbnail view
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvw committed Sep 18, 2016
1 parent 88703ae commit 43e0521
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@
</div>
</div>
{% if adminlist.count > 0 %}
{% if adminlist.pagerfanta.haveToPaginate() %}
{{ pagerfanta(adminlist.pagerfanta, 'twitter_bootstrap_translated') }}
{% endif %}
<div class="row">
{% for media in adminlist.items %}
{% set handler = mediamanager.getHandler(media) %}
Expand Down Expand Up @@ -264,6 +267,9 @@
{% endif %}
{% endfor %}
</div>
{% if adminlist.pagerfanta.haveToPaginate() %}
{{ pagerfanta(adminlist.pagerfanta, 'twitter_bootstrap_translated') }}
{% endif %}
<p id="dnd-area-link" class="text--muted">
<strong>{{ 'media.media.dnd.tip' |trans }}</strong> {{ 'media.media.dnd.tiptext' |trans }}
</p>
Expand Down

0 comments on commit 43e0521

Please sign in to comment.