grandlyon-glc: fix user management links rendering (#71158)
This commit is contained in:
parent
eac670573b
commit
bda94ad334
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue