use user.username for the edit link, not the display name
This commit is contained in:
parent
feff837313
commit
9abb5887b1
|
@ -11,7 +11,7 @@
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
{% if is_self %}
|
{% 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 %}
|
{% endif %}
|
||||||
|
|
||||||
{% if is_remote %}
|
{% if is_remote %}
|
||||||
|
|
Loading…
Reference in New Issue