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">
|
<h1 class="font-bold text-xl font-heading leading-normal mb-0">
|
||||||
Inbox
|
Inbox
|
||||||
</h1>
|
</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>
|
<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
|
All
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<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
|
Posts
|
||||||
{% if v.post_notifications_count %}
|
{% if v.post_notifications_count %}
|
||||||
<span class="text-gray-600">({{v.post_notifications_count}})</span>
|
<span class="text-gray-600">({{v.post_notifications_count}})</span>
|
||||||
|
@ -27,13 +27,13 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<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
|
Messages
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% if v.admin_level > 1 %}
|
{% if v.admin_level > 1 %}
|
||||||
<li>
|
<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
|
Mod Mail
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue