forked from rDrama/rDrama
fix
parent
3e620aa5cc
commit
17f01d805c
|
@ -174,23 +174,23 @@
|
||||||
<div class="px-4 py-2 flex space-x-3 divide-x divide-gray-400 text-xs bg-gray-100 md:border-b md:border-gray-300">
|
<div class="px-4 py-2 flex space-x-3 divide-x divide-gray-400 text-xs bg-gray-100 md:border-b md:border-gray-300">
|
||||||
<ul class="flex items-center space-x-3 leading-normal mb-0">
|
<ul class="flex items-center space-x-3 leading-normal mb-0">
|
||||||
<li>
|
<li>
|
||||||
<a class="{{ 'font-bold text-red-600' if not '/comments' or not '/saved' in request.path else 'text-gray-700' }}" href="/@{{u.username}}">
|
<a class="{{ 'font-bold text-red-600' if not 'comments' or not 'saved' in request.path else 'text-gray-700' }}" href="/@{{u.username}}">
|
||||||
Posts <span class="text-gray-500 font-normal">{{ u.post_count }}</span>
|
Posts <span class="text-gray-500 font-normal">{{ u.post_count }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a class="{{ 'font-bold text-red-600' if '/comments' in request.full_path else 'text-gray-700' }}" href="/@{{u.username}}/comments">
|
<a class="{{ 'font-bold text-red-600' if 'comments' and not 'saved' in request.full_path else 'text-gray-700' }}" href="/@{{u.username}}/comments">
|
||||||
Comments <span class="text-gray-500 font-normal">{{ u.comment_count }}</span>
|
Comments <span class="text-gray-500 font-normal">{{ u.comment_count }}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% if u.id == v.id %}
|
{% if u.id == v.id %}
|
||||||
<li>
|
<li>
|
||||||
<a class="{{ 'font-bold text-red-600' if '/saved/posts' in request.full_path else 'text-gray-700' }}" href="/@{{u.username}}/saved/posts">
|
<a class="{{ 'font-bold text-red-600' if 'saved/posts' in request.full_path else 'text-gray-700' }}" href="/@{{u.username}}/saved/posts">
|
||||||
Saved Posts
|
Saved Posts
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a class="{{ 'font-bold text-red-600' if '/saved/comments' in request.full_path else 'text-gray-700' }}" href="/@{{u.username}}/saved/comments">
|
<a class="{{ 'font-bold text-red-600' if 'saved/comments' in request.full_path else 'text-gray-700' }}" href="/@{{u.username}}/saved/comments">
|
||||||
Saved Comments
|
Saved Comments
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in New Issue