unread notifs
This commit is contained in:
@@ -32,8 +32,13 @@
|
||||
</a>
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="d-none d-lg-flex align-items-center me-3">
|
||||
<a class="nav-link text-white" href="{{ url_for('main.notifications') }}">
|
||||
<a class="nav-link text-white position-relative" href="{{ url_for('main.notifications') }}">
|
||||
<i class="fas fa-bell text-xl" style="width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center;"></i>
|
||||
{% if unread_notifications > 0 %}
|
||||
<span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger" style="font-size: 0.6rem;">
|
||||
{{ unread_notifications }}
|
||||
</span>
|
||||
{% endif %}
|
||||
</a>
|
||||
</div>
|
||||
<div class="dropdown">
|
||||
|
||||
Reference in New Issue
Block a user