X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/1a949f7c97dc2f34c135f5cdf088df2927d3d652..094acc5f44c3a7779f42b3d84c86213ba6a1003c:/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 051fb6b..8b52019 100644 --- a/forum/skins/default/templates/auth/auth_settings.html +++ b/forum/skins/default/templates/auth/auth_settings.html @@ -1,10 +1,10 @@ -{% 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 %}

@@ -16,11 +16,13 @@ {% if not auth_keys %}

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

{% endif %} - +{% 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 %}
@@ -31,5 +33,6 @@
+{% endif %} {% endblock %}