From 3091fb07837bae8bf222ac3ec0cac35700a7fa79 Mon Sep 17 00:00:00 2001 From: Luca Date: Mon, 18 Dec 2023 01:15:50 +0100 Subject: [PATCH] fix: keep dropdown menu expanded --- pretalx_musicrate/signals.py | 4 ++-- pretalx_musicrate/urls.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pretalx_musicrate/signals.py b/pretalx_musicrate/signals.py index ea9af8a..3c7c5fb 100644 --- a/pretalx_musicrate/signals.py +++ b/pretalx_musicrate/signals.py @@ -29,10 +29,10 @@ def pretalx_musicrate_settings(sender, request, **kwargs): { "label": "pretalx-musicrate", "url": reverse( - "plugins:pretalx_musicrate:settings", + "plugins:pretalx_musicrate:settings.musicrate", kwargs={"event": request.event.slug}, ), "active": request.resolver_match.view_name - == "plugins:pretalx_musicrate:settings", + == "plugins:pretalx_musicrate:settings.musicrate", } ] diff --git a/pretalx_musicrate/urls.py b/pretalx_musicrate/urls.py index 75ef4fd..75769ec 100644 --- a/pretalx_musicrate/urls.py +++ b/pretalx_musicrate/urls.py @@ -13,7 +13,7 @@ urlpatterns = [ path( "orga/event//settings/p/pretalx_musicrate/", MusicrateSettingsView.as_view(), - name="settings", + name="settings.musicrate", ), path( "/p/pretalx_musicrate/",