X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/dec306155823082d0e25e6abb10edc0cd269f0dd..31f67094578292b834139406a9aaea3a15123218:/forum/skins/default/templates/auth/auth_settings.html diff --git a/forum/skins/default/templates/auth/auth_settings.html b/forum/skins/default/templates/auth/auth_settings.html index e19a10c..4d9064c 100644 --- a/forum/skins/default/templates/auth/auth_settings.html +++ b/forum/skins/default/templates/auth/auth_settings.html @@ -1,37 +1,39 @@ -{% extends "base.html" %} +{% extends "user.html" %} {% load i18n %} {% block head %}{% endblock %} {% block title %}{% spaceless %}{% trans "Authentication settings" %}{% endspaceless %}{% endblock %} -{% block content %} -
{% trans "Authentication settings" %}
+{% block usercontent %} +

{% trans "Authentication settings" %}

{% if auth_keys %}

{% blocktrans %}These are the external authentication providers currently associated with your account.{% endblocktrans %}

{% for key in auth_keys %} -

{{ key.name }} ({% trans "remove" %})

+

{{ key.name }} ({% trans "remove" %})

{% endfor %}
{% endif %} {% if not auth_keys %}

{% blocktrans %}You currently have no external authentication provider associated with your account.{% endblocktrans %}

{% endif %} -{% ifequal user request.user %} - +{% ifequal view_user request.user %} + {% endifequal %} +{% if allow_local_auth %} {% if has_password %}

{% blocktrans %}This is where you can change your password. Make sure you remember it!{% endblocktrans %}

-{% endif %} -{% if not has_password %} +{% else %}

{% blocktrans %}You can set up a password for your account, so you can login using standard username and password!{% endblocktrans %}

{% endif %}
+ {% csrf_token %}
+{% endif %} {% endblock %}