Skip to content

Commit

Permalink
Show a count of the internal notes. (#2256)
Browse files Browse the repository at this point in the history
This is a minor change to add a count of the number of internal notes
on an active project.
  • Loading branch information
Benjamin Moody committed Jul 12, 2024
2 parents 2ce3a8a + 760b726 commit b7deb98
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% load project_templatetags %}
{% load console_templatetags %}
<div class="card mb-3">
<div class="card-header">
<ul class="nav nav-tabs card-header-tabs">
Expand Down Expand Up @@ -28,7 +29,9 @@
</li>
{% endif %}
<li class="nav-item">
<a class="nav-link" id="notes-tab" data-toggle="tab" href="#notes" role="tab" aria-controls="notes" aria-selected="false">Internal notes</a>
<a class="nav-link" id="notes-tab" data-toggle="tab" href="#notes" role="tab" aria-controls="notes" aria-selected="false">Internal notes
{{ notes|task_count_badge|safe }}
</a>
</li>
</ul>
</div>
Expand Down

0 comments on commit b7deb98

Please sign in to comment.