fix: keep dropdown menu expanded
This commit is contained in:
parent
14df5d5b68
commit
3091fb0783
|
@ -29,10 +29,10 @@ def pretalx_musicrate_settings(sender, request, **kwargs):
|
||||||
{
|
{
|
||||||
"label": "pretalx-musicrate",
|
"label": "pretalx-musicrate",
|
||||||
"url": reverse(
|
"url": reverse(
|
||||||
"plugins:pretalx_musicrate:settings",
|
"plugins:pretalx_musicrate:settings.musicrate",
|
||||||
kwargs={"event": request.event.slug},
|
kwargs={"event": request.event.slug},
|
||||||
),
|
),
|
||||||
"active": request.resolver_match.view_name
|
"active": request.resolver_match.view_name
|
||||||
== "plugins:pretalx_musicrate:settings",
|
== "plugins:pretalx_musicrate:settings.musicrate",
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -13,7 +13,7 @@ urlpatterns = [
|
||||||
path(
|
path(
|
||||||
"orga/event/<slug:event>/settings/p/pretalx_musicrate/",
|
"orga/event/<slug:event>/settings/p/pretalx_musicrate/",
|
||||||
MusicrateSettingsView.as_view(),
|
MusicrateSettingsView.as_view(),
|
||||||
name="settings",
|
name="settings.musicrate",
|
||||||
),
|
),
|
||||||
path(
|
path(
|
||||||
"<slug:event>/p/pretalx_musicrate/",
|
"<slug:event>/p/pretalx_musicrate/",
|
||||||
|
|
Loading…
Reference in New Issue