1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
2017-05-17 12:18:32 -04:00

21 lines
578 B
HTML

{% load render_table from django_tables2 %}
<div class="panel panel-{{ panel_class|default:'default' }}">
{% if heading %}
<div class="panel-heading">
<strong>{{ heading }}</strong>
</div>
{% endif %}
{% if table.rows %}
{% render_table table 'inc/table.html' %}
{% else %}
<div class="panel-body text-muted">None</div>
{% endif %}
</div>
{% if table.rows and not hide_paginator %}
{% with paginator=table.paginator page=table.page %}
{% include 'inc/paginator.html' %}
{% endwith %}
{% endif %}