From efcb24ace75ae76ef87c858c1a4a58d276d02e64 Mon Sep 17 00:00:00 2001 From: Nicolas ROCHE Date: Thu, 29 Apr 2021 14:25:25 +0200 Subject: [PATCH] villeneuve-dascq: remove dupplicated icon on toplinks (#53558) --- .../villeneuve-dascq/includes/user-info.html | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/templates/variants/villeneuve-dascq/includes/user-info.html b/templates/variants/villeneuve-dascq/includes/user-info.html index 0a03f1f0..f5e6f0c8 100644 --- a/templates/variants/villeneuve-dascq/includes/user-info.html +++ b/templates/variants/villeneuve-dascq/includes/user-info.html @@ -4,5 +4,24 @@ Accueil - {{ block.super }} -{% endblock %} \ No newline at end of file + + + {% skeleton_extra_placeholder user-info %} + {% if user.is_authenticated %} + + {% if idp_account_url %}{% endif %} + {% block user-info-logout-label %}Déconnexion{% endblock %} + + {% else %} + {% firstof registration_url idp_registration_url as registration_url %} + {% endif %} + / + {% if registration_url and include_registration_link != False %}{% block user-info-registration-label %}Inscription{% endblock %}{% endif %} + {% endif %} + {% end_skeleton_extra_placeholder %} + +{% endblock %}