forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-07 20:49:22 -06:00
parent 8a1388b400
commit 804d936a36
1 changed files with 4 additions and 4 deletions

View File

@ -36,8 +36,8 @@
<div class="relative col-span-full flex items-center">
<div class="flex items-center">
<img class="h-14 w-14 bg-white p-[3px] border border-gray-400" src="{{ v.profile_url }}" alt="Your avatar"/>
<div>
<h1 class="font-bold text-xl leading-normal mb-0 pl-3" style="color: #{{u.namecolor}}">
<div class="pl-3">
<h1 class="font-bold text-xl leading-normal mb-0" style="color: #{{u.namecolor}}">
<span {% if u.patron %}class="patron" style="background-color:#{{u.namecolor}};"{% endif %}>{{u.username}}</span>
</h1>
{% if u.username != u.original_username %}
@ -66,12 +66,12 @@
<ul class="flex items-center space-x-3 leading-normal mb-0">
<li>
<a class="{{ 'font-bold text-red-600' if '/posts/' in request.path else 'text-gray-500' }}" href="/@{{u.username}}">
Posts
Posts <span class="text-gray-400 font-normal">{{ u.post_count }}</span>
</a>
</li>
<li>
<a class="{{ 'font-bold text-red-600' if '/comments/' in request.path else 'text-gray-500' }}" href="/@{{u.username}}/comments">
Comments
Comments <span class="text-gray-400 font-normal">{{ u.comment_count }}</span>
</a>
</li>
<li>