X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/b8f3a2323d03384198863e35d6467a8624a2e31a..62604660ed4357d8e2cb3e920751c3a7be8d4234:/forum/skins/default/templates/users/edit.html?ds=sidebyside 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 %} +