{% extends "mvp/base.html" %} {% load i18n flex_menu static dac %} {% comment %} Account Center base: the normal mvp app shell (sidebar, navbar, dock all untouched) with a two-column main area — the Account Center sub menu on the left, page content on the right. allauth's manage layout and dac's own pages both extend this template. Blocks head_title / extra_head / extra_body are mapped onto mvp's title / head / extra_js blocks so stock allauth templates work unchanged. {% endcomment %} {% block title %} {% block head_title %} {% trans "Account Center" %} {% endblock head_title %} {% endblock title %} {% block head %} {{ block.super }} {% block extra_head %} {% endblock extra_head %} {% endblock head %} {% block styles %} {% endblock styles %} {% block app.main %}
{% block account_breadcrumbs %} {% account_section as section %} {% if section %} {% if section.is_current %} {% else %} {% endif %} {% endif %} {% endblock account_breadcrumbs %} {% block content %} {% endblock content %}
{% endblock app.main %} {% block extra_js %} {% block extra_body %} {% endblock extra_body %} {% endblock extra_js %}