forked from rDrama/rDrama
fdfd
parent
2023bfc7fc
commit
468b6165ba
|
@ -59,7 +59,7 @@
|
|||
{% else %}
|
||||
|
||||
<li class="nav-item d-flex align-items-center text-center justify-content-center mx-1">
|
||||
<a class="nav-link" href="/notifications?all=true" data-toggle="tooltip" data-placement="bottom" title="Notifications"><i class="fas fa-bell"></i></a>
|
||||
<a class="nav-link" href="/notifications" data-toggle="tooltip" data-placement="bottom" title="Notifications"><i class="fas fa-bell"></i></a>
|
||||
</li>
|
||||
|
||||
{% endif %}
|
||||
|
@ -147,7 +147,7 @@
|
|||
<a class="nav-link" href="{{v.url}}"><i class="fas fa-user-circle fa-fw mr-3"></i>@{{v.username}}</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link {% if v.notifications_count %}position-relative{% endif %}" href="/notifications{% if not v.notifications_count %}?all=true{% elif v.notifications_count == v.post_notifications_count %}?posts=true{% endif %}">
|
||||
<a class="nav-link {% if v.notifications_count %}position-relative{% endif %}" href="/notifications{% if v.notifications_count == v.post_notifications_count %}?posts=true{% endif %}">
|
||||
<i class="fas fa-envelope fa-fw mr-3"></i>Inbox
|
||||
{% if v.notifications_count %}
|
||||
<i class="fas fa-circle text-danger position-absolute" style="left: 19px; top: 5px; font-size: 10px;"></i>
|
||||
|
|
|
@ -15,14 +15,9 @@
|
|||
<div class="row border-bottom bg-white w-200 pr-0" style="overflow: visible;">
|
||||
<div class="col p-0 w-100">
|
||||
<ul class="nav settings-nav" style="padding:0 30px;">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link py-3{% if '/notifications?all=true' in request.full_path %} active{% endif %}" href="/notifications?all=true">
|
||||
All
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link py-3{% if not '=' in request.full_path %} active{% endif %}" href="/notifications">
|
||||
Unread
|
||||
All
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
|
@ -58,7 +53,7 @@
|
|||
|
||||
<div class="h5">No unread messages</div>
|
||||
<div class="text-small text-muted mb-3">When someone comments or replies, it will show up here.</div>
|
||||
<a href="/notifications?all=true" class="btn btn-primary btn-sm">View entire inbox</a>
|
||||
<a href="/notifications" class="btn btn-primary btn-sm">View entire inbox</a>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue