Merge pull request #150 from CPPAlliance/fix-profile-header-link

Fix header link
This commit is contained in:
Lacey Williams Henschel
2023-03-14 10:40:11 -07:00
committed by GitHub

View File

@@ -17,7 +17,7 @@
{% if not user.is_authenticated %}
<a href="{% url 'account_signup' %}" class="font-medium text-white hover:text-orange">Sign Up</a>
{% else %}
<a href="{% url 'profile-photo' %}" class="font-medium text-white hover:text-orange">Profile</a>
<a href="{% url 'profile-user' pk=request.user.pk %}" class="font-medium text-white hover:text-orange">Profile</a>
{% endif %}
{% if not user.is_authenticated %}