1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Standardize usage of table template

This commit is contained in:
jeremystretch
2021-12-13 15:36:51 -05:00
parent dc1331e736
commit c50dc1eb35
45 changed files with 167 additions and 115 deletions

View File

@@ -2,7 +2,9 @@
{% load render_table from django_tables2 %}
{% block content %}
{% render_table table 'inc/table.html' %}
<div class="table-responsive">
{% render_table table 'inc/table.html' %}
</div>
{% include 'inc/paginator.html' with paginator=table.paginator page=table.page %}
<div class="text-muted">
Change log retention: {% if settings.CHANGELOG_RETENTION %}{{ settings.CHANGELOG_RETENTION }} days{% else %}Indefinite{% endif %}