Skip to content

Commit

Permalink
Move profile
Browse files Browse the repository at this point in the history
  • Loading branch information
blopker committed Oct 8, 2023
1 parent b8873be commit e23ca12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions totem/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@
</span>
<span slot='menu'>
<div class="absolute right-0 mt-2 w-40 rounded-md bg-white shadow-md z-10">
<a href="{% url 'users:profile' %}"
class="flex items-center gap-2 w-full first-of-type:rounded-t-md last-of-type:rounded-b-md px-4 py-2.5 text-left text-sm hover:bg-gray-50 disabled:text-gray-500">
{{ request.user.email }}
</a>
<a href="{% url 'users:redirect' %}"
class="flex items-center gap-2 w-full first-of-type:rounded-t-md last-of-type:rounded-b-md px-4 py-2.5 text-left text-sm hover:bg-gray-50 disabled:text-gray-500">
Dashboard
Expand All @@ -54,6 +50,10 @@
Admin
</a>
{% endif %}
<a href="{% url 'users:profile' %}"
class="flex items-center gap-2 w-full first-of-type:rounded-t-md last-of-type:rounded-b-md px-4 py-2.5 text-left text-sm hover:bg-gray-50 disabled:text-gray-500">
{{ request.user.email }}
</a>
<a href="{% url 'pages:team' %}"
class="flex items-center gap-2 w-full first-of-type:rounded-t-md last-of-type:rounded-b-md px-4 py-2.5 text-left text-sm hover:bg-gray-50 disabled:text-gray-500">
<span class="text-tpink">Logout</span>
Expand Down

0 comments on commit e23ca12

Please sign in to comment.