16252 review changes

This commit is contained in:
Arthur Hanson 2024-06-20 10:09:12 -07:00
parent 4aa430af31
commit 030916e617
2 changed files with 1 additions and 2 deletions

View File

@ -651,7 +651,6 @@ class RackElevationListView(generic.ObjectListView):
'rack_face': rack_face, 'rack_face': rack_face,
'filter_form': forms.RackElevationFilterForm(request.GET), 'filter_form': forms.RackElevationFilterForm(request.GET),
'model': self.queryset.model, 'model': self.queryset.model,
'table': {'page': page}, # hack to show count in Result tab
}) })

View File

@ -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 %}