Explorar o código

Restored the option to hide the paginator on panel tables

Jeremy Stretch %!s(int64=9) %!d(string=hai) anos
pai
achega
6e69c9e375
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      netbox/templates/panel_table.html

+ 1 - 1
netbox/templates/panel_table.html

@@ -13,7 +13,7 @@
     {% endif %}
 </div>
 
-{% if table.rows %}
+{% if table.rows and not hide_paginator %}
     {% with paginator=table.paginator page=table.page %}
         {% include 'inc/paginator.html' %}
     {% endwith %}