X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/b8f3a2323d03384198863e35d6467a8624a2e31a..094acc5f44c3a7779f42b3d84c86213ba6a1003c:/forum/skins/default/templates/users/edit.html diff --git a/forum/skins/default/templates/users/edit.html b/forum/skins/default/templates/users/edit.html index b3a7e74..3240fd2 100644 --- a/forum/skins/default/templates/users/edit.html +++ b/forum/skins/default/templates/users/edit.html @@ -30,19 +30,19 @@ {% endblock %} {% block content %}
- {{ request.user.username }} - {% trans "edit profile" %} + {{ user.username }} - {% trans "edit profile" %}
-
+
- {% if request.user.email %} - {% gravatar request.user 128 %} + {% if user.email %} + {% gravatar user 128 %} {% else %} {% endif %}
{% blocktrans %}avatar, see {{gravatar_faq_url}}{% endblocktrans %} + title="gravatar {% trans "image associated with your email address" %}">{% trans "gravatar" %}
@@ -55,7 +55,13 @@ {% trans "Screen Name" %}: - {{ request.user.username }} {{ form.username.errors }} + + {% if form.username %} + {{ form.username }} {{ form.username.errors }} + {% else %} + {{ user.username }} + {% endif %} +