1
0
Fork 0
mirror of https://github.com/Kunsi/pretalx-plugin-broadcast-tools synced 2024-11-24 11:01:07 +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): class BroadcastToolsSettingsForm(I18nFormMixin, HierarkeyForm):
lower_thirds_theme = ChoiceField( lower_thirds_theme = ChoiceField(
choices=(('default', 'default'), ('rc3-2021', 'rc3-2021')), choices=(("default", "default"), ("rc3-2021", "rc3-2021")),
label=_('Theme'), label=_("Theme"),
widget=RadioSelect, widget=RadioSelect,
) )
lower_thirds_no_talk_info = I18nFormField( lower_thirds_no_talk_info = I18nFormField(

View file

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