mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-09 19:03:48 +02:00
Use badge template tag for numeric values
This commit is contained in:
@@ -38,8 +38,10 @@
|
||||
<div class="list-group list-group-flush">
|
||||
{% for obj_type in results %}
|
||||
<a href="#{{ obj_type.name|lower }}" class="list-group-item">
|
||||
<div class="float-end">
|
||||
{% badge obj_type.table.page.paginator.count %}
|
||||
</div>
|
||||
{{ obj_type.name|bettertitle }}
|
||||
<span class="badge bg-primary">{{ obj_type.table.page.paginator.count }}</span>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user