Explorar el Código

Restored the option to hide the paginator on panel tables

Jeremy Stretch hace 9 años
padre
commit
6e69c9e375
Se han modificado 1 ficheros con 1 adiciones y 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 %}