grandlyon-glc: fix user management links rendering (#71158)

This commit is contained in:
Serghei Mihai 2022-11-08 20:58:39 +01:00
parent eac670573b
commit bda94ad334
1 changed files with 9 additions and 7 deletions

View File

@ -184,15 +184,17 @@
<div id="account-management">
<div class="block">
<div class="associated-email">VOTRE COURRIEL EST <span>{{ user.email }}</span></div>
<ul>
{% if allow_email_change %}
<div class="links-list">
<ul>
{% if allow_email_change %}
<li><a href="{% url 'email-change' %}" class="button">Modifier le courriel</a></li>
{% endif %}
{{ frontends_block_by_id.password.content|safe }}
{% if allow_account_deletion %}
{% endif %}
{{ frontends_block_by_id.password.content|safe }}
{% if allow_account_deletion %}
<li><a href="{% url 'delete_account' %}" class="button">Supprimer le compte</a></li>
{% endif %}
</ul>
{% endif %}
</ul>
</div>
</div>
{% if not user.fc_accounts.exists %}
<div id="account-management-{{ fc }}" class="block">