Facilitate access to the user's profile #82

Merged
Danhia merged 3 commits from :main into main 2022-10-10 21:03:10 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit dc955fc189 - Show all commits

View File

@ -95,7 +95,7 @@
<a href="{% url 'accounts:edit' %}" class="nav-link">{{ request.user.username }}</a> <a href="{% url 'accounts:edit' %}" class="nav-link">{{ request.user.username }}</a>
</li> </li>
<li class="nav-item dropdown"> <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>
<li class="nav-item dropdown"> <li class="nav-item dropdown">
<a class="nav-link" href="{% url 'accounts:out' %}">{% translate "Logout" %}</a> <a class="nav-link" href="{% url 'accounts:out' %}">{% translate "Logout" %}</a>