forked from 42CTF/website
Add a button to view the user's profile by clicking on their score on the navbar
This commit is contained in:
parent
e304f7cd15
commit
dc955fc189
|
@ -95,7 +95,7 @@
|
|||
<a href="{% url 'accounts:edit' %}" class="nav-link">{{ request.user.username }}</a>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<span class="nav-link">{{ request.user.userprofileinfo.score }}</span>
|
||||
<a class="nav-link" href="{% url 'accounts:profile' user.userprofileinfo.user %}">{{ request.user.userprofileinfo.score }}</a>
|
||||
</li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link" href="{% url 'accounts:out' %}">{% translate "Logout" %}</a>
|
||||
|
|
Loading…
Reference in New Issue