summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Mihai <smihai@entrouvert.com>2020-09-18 09:53:16 (GMT)
committerSerghei Mihai <smihai@entrouvert.com>2020-09-18 09:54:59 (GMT)
commit3a863ba1a6f4549bcfb26c2a19f2a28b41df3521 (patch)
treea96a66d141a26c01cb0913198ef33f92a8300e56
parent2d7a5e3e209bbbc4c00f700f07400ee0823f41ab (diff)
downloadcut-publik-theme-3a863ba1a6f4549bcfb26c2a19f2a28b41df3521.zip
cut-publik-theme-3a863ba1a6f4549bcfb26c2a19f2a28b41df3521.tar.gz
cut-publik-theme-3a863ba1a6f4549bcfb26c2a19f2a28b41df3521.tar.bz2
accounts: move authorized services link to left menu (#46733)v0.30
-rw-r--r--templates/authentic2/accounts.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/authentic2/accounts.html b/templates/authentic2/accounts.html
index 927e8d7..3150325 100644
--- a/templates/authentic2/accounts.html
+++ b/templates/authentic2/accounts.html
@@ -7,6 +7,9 @@
<li><a href="{% url 'account_management' %}#mon-compte">MON COMPTE</a></li>
<li><a href="{% url 'account_management' %}#mes-donnees-d-identite">MES DONNÉES D'IDENTITÉ</a></li>
<li><a href="{% url 'account_management' %}#mes-donnees-complementaires">MES DONNÉES COMPLÉMENTAIRES</a></li>
+ {% if allow_authorization_management %}
+ <li><a href="{% url 'authorized-oauth-services' %}">MES CONSENTEMENTS</a></li>
+ {% endif %}
</ul>
</div>
@@ -176,9 +179,6 @@
<li><a href="{% url 'email-change' %}" class="button">Modifier le courriel</a></li>
{% endif %}
{{ frontends_block_by_id.password.content|safe }}
- {% if allow_authorization_management %}
- <li><a href="{% url 'authorized-oauth-services' %}" class="button">Mes consentements</a></li>
- {% endif %}
{% if allow_account_deletion %}
<li><a href="{% url 'delete_account' %}" class="button">Supprimer le compte</a></li>
{% endif %}