forked from MarseyWorld/MarseyWorld
fix
parent
71e8dfb56e
commit
bf87d4060c
|
@ -12,14 +12,14 @@
|
|||
<h1 class="font-bold text-xl font-heading leading-normal mb-0">
|
||||
Inbox
|
||||
</h1>
|
||||
<ul class="text-gray-700 text-xs flex items-center space-x-3 leading-normal mb-0">
|
||||
<ul class="text-xs flex items-center space-x-3 leading-normal mb-0">
|
||||
<li>
|
||||
<a class="{% if not '=true' in request.full_path %}font-bold text-red-600{% endif %}" href="/notifications">
|
||||
<a class="{{ 'font-bold text-red-600' if not '=true' in request.full_path else 'text-gray-700' }}" href="/notifications">
|
||||
All
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="{% if '/notifications?posts=true' in request.full_path %}font-bold text-red-600{% endif %}" href="/notifications?posts=true">
|
||||
<a class="{{ 'font-bold text-red-600' if '/notifications?posts=true' in request.full_path else 'text-gray-700' }}" href="/notifications?posts=true">
|
||||
Posts
|
||||
{% if v.post_notifications_count %}
|
||||
<span class="text-gray-600">({{v.post_notifications_count}})</span>
|
||||
|
@ -27,13 +27,13 @@
|
|||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="{% if '/notifications?messages=true' in request.full_path %}font-bold text-red-600{% endif %}" href="/notifications?messages=true">
|
||||
<a class="{{ 'font-bold text-red-600' if '/notifications?messages=true' in request.full_path else 'text-gray-700' }}" href="/notifications?messages=true">
|
||||
Messages
|
||||
</a>
|
||||
</li>
|
||||
{% if v.admin_level > 1 %}
|
||||
<li>
|
||||
<a class="{% if '/notifications?modmail=true' in request.full_path %}font-bold text-red-600{% endif %}" href="/notifications?modmail=true">
|
||||
<a class="{{ 'font-bold text-red-600' if '/notifications?modmail=true' in request.full_path else 'text-gray-700' }}" href="/notifications?modmail=true">
|
||||
Mod Mail
|
||||
</a>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue