X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/37e278e43ece42375352c07d9f04991ef58d992c..refs/heads/open:/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 15e5eaf..3845526 100644 --- a/src/accounts/templates/account/profile.html +++ b/src/accounts/templates/account/profile.html @@ -1,19 +1,26 @@ {% extends "base.html" %} -{% load gravatar i18n %} +{% load libravatar_tags 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 }} @@ -21,21 +28,19 @@

{% trans "Password change" %}

- -
- {{ pass_form.as_table }} - -
- -
+ Zmień hasło -
-

{% trans "Availble services" %}

- - - - - -
-{% endblock %} \ No newline at end of file + + + {% if services %} +
+

{% trans "Sign in to:" %}

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