add: notifications ui

This commit is contained in:
trisua 2025-03-30 22:26:20 -04:00
parent 9dc75d7095
commit f5b75382e5
14 changed files with 179 additions and 14 deletions

View file

@ -32,11 +32,11 @@ show_lhs=true) -%}
<div class="flex nav_side">
{% if user %}
<a href="/notifs" class="button" title="Notifications">
{{ icon "bell" }} {% if user.notification_count > 0 %}
{% if user.notification_count > 0 %} {{ icon "bell-dot" }}
<span class="notification tr"
>{{ user.notification_count }}</span
>
{% endif %}
{% else %} {{ icon "bell" }} {% endif %}
</a>
<div class="dropdown">