forked from rDrama/rDrama
fix
parent
f30880bd07
commit
ac927025f5
|
@ -48,25 +48,6 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex space-x-3 divide-x divide-gray-400 text-xs">
|
||||
<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
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="{{ 'font-bold text-red-600' if '/comments/' in request.path else 'text-gray-500' }}" href="/@{{u.username}}/comments">
|
||||
Comments
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="{{ 'font-bold text-red-600' if '/saved/' in request.path else 'text-gray-500' }}" href="/@{{u.username}}/saved/posts">
|
||||
Saved Posts
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -74,6 +55,28 @@
|
|||
|
||||
{% block content %}
|
||||
|
||||
<div class="col-span-full">
|
||||
<div class="flex space-x-3 divide-x divide-gray-400 text-xs">
|
||||
<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
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="{{ 'font-bold text-red-600' if '/comments/' in request.path else 'text-gray-500' }}" href="/@{{u.username}}/comments">
|
||||
Comments
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="{{ 'font-bold text-red-600' if '/saved/' in request.path else 'text-gray-500' }}" href="/@{{u.username}}/saved/posts">
|
||||
Saved Posts
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-span-full xl:col-span-9">
|
||||
|
||||
<div id="profilecontent" class="row no-gutters">
|
||||
|
|
Loading…
Reference in New Issue