1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2024-11-24 08:31:02 +00:00

format code

This commit is contained in:
Daniel Havlik 2021-12-25 03:27:20 +01:00
parent 506c8b135f
commit 0383c2e16a
2 changed files with 3 additions and 5 deletions

View file

@ -6,8 +6,8 @@ from i18nfield.forms import I18nFormField, I18nFormMixin, I18nTextInput
class BroadcastToolsSettingsForm(I18nFormMixin, HierarkeyForm):
lower_thirds_theme = ChoiceField(
choices=(('default', 'default'), ('rc3-2021', 'rc3-2021')),
label=_('Theme'),
choices=(("default", "default"), ("rc3-2021", "rc3-2021")),
label=_("Theme"),
widget=RadioSelect,
)
lower_thirds_no_talk_info = I18nFormField(

View file

@ -12,9 +12,7 @@ from pretalx.schedule.exporters import ScheduleData
from .forms import BroadcastToolsSettingsForm
THEME_CSS = {
'default': 'frontend.css',
'rc3-2021': 'frontend_rc3.css'}
THEME_CSS = {"default": "frontend.css", "rc3-2021": "frontend_rc3.css"}
class BroadcastToolsLowerThirdsView(TemplateView):