2017-05-16 16:19:55 -04:00
|
|
|
{% load render_table from django_tables2 %}
|
2023-07-29 03:30:25 +07:00
|
|
|
{% load i18n %}
|
2016-03-01 11:23:03 -05:00
|
|
|
|
2023-01-16 15:50:45 -05:00
|
|
|
<div class="card {% if panel_class %}border-{{ panel_class }}{% endif %}">
|
|
|
|
{% if heading %}
|
|
|
|
<h5 class="card-header{% if panel_class %} text-{{ panel_class }}{% endif %}">{{ heading }}</h5>
|
|
|
|
{% endif %}
|
2024-01-23 10:30:23 -05:00
|
|
|
{% if table.rows %}
|
|
|
|
<div class="table-responsive">
|
2023-01-16 15:50:45 -05:00
|
|
|
{% render_table table 'inc/table.html' %}
|
2024-01-23 10:30:23 -05:00
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
<div class="card-body text-muted">{% trans "None" %}</div>
|
|
|
|
{% endif %}
|
2016-03-01 11:23:03 -05:00
|
|
|
</div>
|