forked from rDrama/rDrama
fdssd
parent
7f9ef99ba2
commit
64c1735da6
|
@ -246,12 +246,12 @@
|
||||||
<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' in request.path else 'text-gray-700' }}" href="/@{{u.username}}">
|
<a class="{{ 'font-bold text-red-600' if not 'comments' in request.path else 'text-gray-700' }}" href="/@{{u.username}}">
|
||||||
Posts <span class="text-gray-500 font-normal">0 if u.shadowbanned and not (v and (v.shadowbanned or v.admin_level)) else {{ u.post_count }}</span>
|
Posts <span class="text-gray-500 font-normal">{{0 if u.shadowbanned and not (v and (v.shadowbanned or v.admin_level)) else u.post_count}}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a class="{{ 'font-bold text-red-600' if 'comments' in request.path else 'text-gray-700' }}" href="/@{{u.username}}/comments">
|
<a class="{{ 'font-bold text-red-600' if 'comments' in request.path else 'text-gray-700' }}" href="/@{{u.username}}/comments">
|
||||||
Comments <span class="text-gray-500 font-normal">0 if u.shadowbanned and not (v and (v.shadowbanned or v.admin_level)) else {{ u.comment_count }}</span>
|
Comments <span class="text-gray-500 font-normal">{{0 if u.shadowbanned and not (v and (v.shadowbanned or v.admin_level)) else u.comment_count}}</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% if u.id == v.id %}
|
{% if u.id == v.id %}
|
||||||
|
|
Loading…
Reference in New Issue