mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #7042: Show count of journal entries in tab under object view
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
{% url journal_viewname pk=object.pk as journal_url %}
|
||||
{% if journal_url %}
|
||||
<li role="presentation"{% if active_tab == 'journal' %} class="active"{% endif %}>
|
||||
<a href="{{ journal_url }}">Journal</a>
|
||||
<a href="{{ journal_url }}">Journal {% badge object.journal_entries.count %}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
Reference in New Issue
Block a user