mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2025-06-07 13:22:23 +00:00
move room detection to room uuid
This commit is contained in:
parent
6a3b1b309e
commit
dfa0945632
4 changed files with 24 additions and 28 deletions
|
@ -21,6 +21,10 @@ class BroadcastToolsEventInfoView(View):
|
|||
else False
|
||||
),
|
||||
},
|
||||
"rooms": {
|
||||
str(room.uuid): room.name.localize(self.request.event.locale)
|
||||
for room in self.request.event.rooms.all()
|
||||
},
|
||||
"slug": self.request.event.slug,
|
||||
"start": self.request.event.date_from.isoformat(),
|
||||
"end": self.request.event.date_to.isoformat(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue