Add notifications for review tasks

This commit is contained in:
Eli Ribble 2026-03-19 16:01:44 +00:00
parent 786a6c16a3
commit 954a4330ee
No known key found for this signature in database
2 changed files with 19 additions and 1 deletions

View file

@ -84,6 +84,16 @@
>
<div class="menu-icon">{{ template "review.svg" }}</div>
<span class="menu-text ms-2">Review</span>
<span
x-show="notification_counts.review > 0"
x-cloak
class="position-absolute translate-middle badge rounded-pill bg-primary"
>
<span
x-text="notification_counts.reviwe > 99 ? '99+' : notification_counts.review"
></span>
<span class="visually-hidden">unread notifications</span>
</span>
</a>
</li>
<li>