aboutsummaryrefslogtreecommitdiff
path: root/app/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates/base.html')
-rw-r--r--app/templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/templates/base.html b/app/templates/base.html
index 6e8c372..687d718 100644
--- a/app/templates/base.html
+++ b/app/templates/base.html
@@ -37,7 +37,7 @@
</ul>
<ul class="nav navbar-nav navbar-right">
{% if current_user.is_authenticated %}
- <li><a href="{{ url_for('user_profile_page') }}">{{ current_user.first_name or current_user.username }}</a></li>
+ <li><a href="{{ url_for('user_profile_page', username=current_user.username) }}">{{ current_user.display_name }}</a></li>
<li><a href="{{ url_for('user.logout') }}">Sign out</a></li>
{% else %}
<li><a href="{{ url_for('user.login') }}">Sign in</a></li>