use user.username for the edit link, not the display name

This commit is contained in:
Didier Link 2018-06-22 00:27:18 +02:00
parent feff837313
commit 9abb5887b1
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
</h1>
{% if is_self %}
<a href="{{ name }}/edit" class="button inline-block">{{ "Edit your profile" | _ }}</a>
<a href="{{ user.username }}/edit" class="button inline-block">{{ "Edit your profile" | _ }}</a>
{% endif %}
{% if is_remote %}