mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 09:51:22 -06:00
16252 only show results count if paginator (#16269)
* 16252 only show results count if paginator * 16252 hack in table page count * 16252 review changes
This commit is contained in:
parent
3542057839
commit
dda0b0bbd1
@ -48,7 +48,7 @@ Context:
|
|||||||
<li class="nav-item" role="presentation">
|
<li class="nav-item" role="presentation">
|
||||||
<a class="nav-link active" id="object-list-tab" data-bs-toggle="tab" data-bs-target="#object-list" type="button" role="tab" aria-controls="edit-form" aria-selected="true">
|
<a class="nav-link active" id="object-list-tab" data-bs-toggle="tab" data-bs-target="#object-list" type="button" role="tab" aria-controls="edit-form" aria-selected="true">
|
||||||
{% trans "Results" %}
|
{% trans "Results" %}
|
||||||
<span class="badge text-bg-secondary total-object-count">{{ table.page.paginator.count }}</span>
|
<span class="badge text-bg-secondary total-object-count">{% if table.page.paginator.count %}{{ table.page.paginator.count }}{% else %}{{ total_count }}{% endif %}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% if filter_form %}
|
{% if filter_form %}
|
||||||
|
Loading…
Reference in New Issue
Block a user