templates: add overridable blocks to accounts template (#35250)
This commit is contained in:
parent
9b295e1e1e
commit
defbd320df
|
@ -7,7 +7,10 @@
|
|||
{% block content %}
|
||||
<div id="left" class="profile">
|
||||
<div class="block" id="a2-profile">
|
||||
{% block profile-data-title %}
|
||||
<h2>Données du compte</h2>
|
||||
{% endblock %}
|
||||
{% block profile-data %}
|
||||
<div id="profile">
|
||||
{% if attributes %}
|
||||
{% for attribute in attributes %}
|
||||
|
@ -33,11 +36,15 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
<div id="right" class="account-management">
|
||||
<div class="block" id="account-management">
|
||||
{% block account-management-title %}
|
||||
<h2>Gestion du compte</h2>
|
||||
{% endblock %}
|
||||
{% block account-management-actions %}
|
||||
<ul class="account-management">
|
||||
{% block account-management-top-actions %}
|
||||
{% endblock %}
|
||||
|
@ -56,6 +63,7 @@
|
|||
{% block account-management-bottom-actions %}
|
||||
{% endblock %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% for id, block in frontends_block_by_id.items %}
|
||||
<div class="block" id="account-management-{{ id }}">
|
||||
|
|
Loading…
Reference in New Issue