X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/6b6dbacd7a4c81cdb13a15825f8df2ecffe58375..0dd89aae9312bb35ea3398bc9cbf4312ac8d5003:/src/accounts/templates/account/profile.html?ds=sidebyside diff --git a/src/accounts/templates/account/profile.html b/src/accounts/templates/account/profile.html index af04370..b7cc601 100644 --- a/src/accounts/templates/account/profile.html +++ b/src/accounts/templates/account/profile.html @@ -2,18 +2,23 @@ {% load gravatar i18n %} {% block content %} -
- -

{% trans "Logout" %}

-
+
{% if messages %} -

{% for message in messages %}{{ message }}{% endfor %}

+
+ {% for message in messages %}

{{ message }}

{% endfor %} +
{% endif %} -

{% trans "Your profile" %}

+

{% trans "Your profile" %}

+ {% csrf_token %} {{ basic_form.as_table }} @@ -22,6 +27,7 @@

{% trans "Password change" %}

+ {% csrf_token %}
{{ pass_form.as_table }} @@ -29,10 +35,14 @@ -
-

{% trans "Availble services" %}

- - - -
+ {% if services %} +
+

{% trans "Sign in to:" %}

+ {% for service in services %} + + {{ service.name }} + + {% endfor %} +
+ {% endif %} {% endblock %}