X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/a6bc469288a27a94f4c062a33701b7a57746dbb7..414d3b57a727f9edc1663a9542d47392cb3cce6e:/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 6c907cc..18bada0 100644 --- a/src/accounts/templates/account/profile.html +++ b/src/accounts/templates/account/profile.html @@ -1,48 +1,22 @@ -{% extends "base.html" %} -{% load gravatar i18n %} +{% extends "account/base.html" %} +{% load i18n %} -{% block content %} - -
- {% if messages %} -
- {% for message in messages %}

{{ message }}

{% endfor %} -
- {% endif %} +{% block title %}{% trans "Your profile" %}{% endblock %} -

{% trans "Your profile" %}

-
- {% csrf_token %} - - {{ basic_form.as_table }} - -
-
-

{% trans "Password change" %}

-
- {% csrf_token %} - - {{ pass_form.as_table }} - -
-
-
+{% block menu %} + {% with menu="profile" %} + {{ block.super }} + {% endwith %} +{% endblock %} - {% if services %} -
-

{% trans "Sign in to:" %}

- {% for service in services %} - - {{ service.name }} - - {% endfor %} -
- {% endif %} + +{% block accounts-content %} +

{% trans "Your profile" %}

+
+ {% csrf_token %} + {{ form.as_p }} +

+
{% endblock %}