forked from rDrama/rDrama
fix
parent
0666b903f2
commit
e3ce3878ec
|
@ -76,7 +76,14 @@
|
|||
<div class="ml-3 relative hidden sm:block">
|
||||
{% include "/dropdowns/NavbarProfile.html" %}
|
||||
</div>
|
||||
<!-- Profile link -->
|
||||
{% if v.admin_level > 1 %}
|
||||
<!-- Admin link -->
|
||||
<a href="{{ '/admin' if v else '/signup?redirect={{request.path | urlencode}}' }}" class="bg-transparent p-1 rounded-full text-gray-500 hover:text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white">
|
||||
<span class="sr-only">Admin tools</span>
|
||||
<i class="fas fa-crown fa-fw"></i>
|
||||
</a>
|
||||
{% endif %}
|
||||
<!-- Profile link -->
|
||||
<a href="{{ '/me' if v else '/signup?redirect={{request.path | urlencode}}' }}" class="bg-transparent p-1 rounded-full text-gray-500 hover:text-white focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-800 focus:ring-white">
|
||||
<span class="sr-only">My profile</span>
|
||||
<i class="fas fa-user fa-fw"></i>
|
||||
|
|
Loading…
Reference in New Issue