From 30ffebcdf7768b03e0882e5a7ef809bfa7156d55 Mon Sep 17 00:00:00 2001 From: Xavier Fernandez Date: Thu, 11 Jul 2024 09:53:52 +0200 Subject: [PATCH] www.dashboard: remove pilotage webinar banner for employer They've already got enough responses. --- itou/www/dashboard/views.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/itou/www/dashboard/views.py b/itou/www/dashboard/views.py index 46392f8f70..32ccb7aef2 100644 --- a/itou/www/dashboard/views.py +++ b/itou/www/dashboard/views.py @@ -165,23 +165,6 @@ def dashboard(request, template_name="dashboard/dashboard.html"): if request.user.is_employer: context.update(_employer_dashboard_context(request)) - if current_org := request.current_organization: - if current_org.is_subject_to_eligibility_rules: - context["pilotage_webinar_banners"].append( - { - "title": ( - "Testez en avant première votre nouveau tableau de bord de suivi de vos " - "ETP conventionnés et réalisés !" - ), - "description": ( - "Avant la diffusion de ce nouvel outil, nous travaillons à l’affiner et l’adapter " - "selon vos besoins. " - "Nous recherchons 30 SIAE pour faire partie de notre panel de testeurs. Intéressés ?" - ), - "url": "https://tally.so/r/3qP5kg", - "is_displayable": lambda: timezone.localdate() <= datetime.date(2024, 7, 31), - } - ) elif request.user.is_prescriber: if current_org := request.current_organization: if stats_utils.can_view_stats_ph(request):