mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2025-06-07 10:02:23 +00:00
some more code style
This commit is contained in:
parent
81494bed54
commit
3917fa65cf
2 changed files with 13 additions and 9 deletions
|
@ -53,12 +53,14 @@ class BroadcastToolsScheduleView(EventPermissionRequired, ScheduleMixin, View):
|
|||
person.get_display_name()
|
||||
for person in talk.submission.speakers.all()
|
||||
],
|
||||
"track": {
|
||||
"color": talk.submission.track.color,
|
||||
"name": str(talk.submission.track.name),
|
||||
}
|
||||
if talk.submission.track
|
||||
else None,
|
||||
"track": (
|
||||
{
|
||||
"color": talk.submission.track.color,
|
||||
"name": str(talk.submission.track.name),
|
||||
}
|
||||
if talk.submission.track
|
||||
else None
|
||||
),
|
||||
"room": room["name"].localize(schedule.event.locale),
|
||||
"infoline": infoline.format(
|
||||
**placeholders(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue