Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tableau de bord: suppression de la bannière annonçant une enquête Tally aux employeurs SIAE [GEN-1846] #4410

Merged
merged 1 commit into from
Jul 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions itou/www/dashboard/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down