Browse Source

Hide pagination if has not other pages

master
Nyymix 1 month ago
parent
commit
20af1ae19b
  1. 4
      gallery/templates/gallery/_pagination.html

4
gallery/templates/gallery/_pagination.html

@ -1,4 +1,5 @@
{% if page_obj.has_other_pages %}
<ul class="uk-pagination uk-flex-center" uk-margin>
{% if page_obj.has_previous %}
@ -35,4 +36,5 @@
<li class="uk-disabled"><span>&raquo;</span></li>
{% endif %}
</ul>
</ul>
{% endif %}
Loading…
Cancel
Save