Skip to content

Commit 13e6337

Browse files
committed
Closes #7042: Show count of journal entries in tab under object view
1 parent bb57600 commit 13e6337

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/release-notes/version-2.11.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## v2.11.13 (FUTURE)
44

5+
### Enhancements
6+
7+
* [#7042](https://github.com/netbox-community/netbox/issues/7042) - Show count of journal entries in tab under object view
8+
59
### Bug Fixes
610

711
* [#7019](https://github.com/netbox-community/netbox/issues/7019) - Enable searching VM interfaces by description

netbox/templates/generic/object.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h1 class="title">{% block title %}{{ object }}{% endblock %}</h1>
6262
{% url journal_viewname pk=object.pk as journal_url %}
6363
{% if journal_url %}
6464
<li role="presentation"{% if active_tab == 'journal' %} class="active"{% endif %}>
65-
<a href="{{ journal_url }}">Journal</a>
65+
<a href="{{ journal_url }}">Journal {% badge object.journal_entries.count %}</a>
6666
</li>
6767
{% endif %}
6868
{% endwith %}

0 commit comments

Comments
 (0)