2021-11-20 16:46:05 +00:00
|
|
|
from django import forms
|
|
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
from hierarkey.forms import HierarkeyForm
|
|
|
|
|
|
|
|
|
|
|
|
class LowerThirdsSettingsForm(HierarkeyForm):
|
|
|
|
lower_thirds_no_talk_info = forms.CharField(
|
2021-11-21 07:06:35 +00:00
|
|
|
help_text=_(
|
|
|
|
"Will be shown as talk title if there's currently no talk "
|
|
|
|
"running."
|
|
|
|
),
|
|
|
|
initial="Sorry, there's currently no talk running",
|
|
|
|
label=_('"no talk running" information'),
|
2021-11-20 16:46:05 +00:00
|
|
|
required=True,
|
|
|
|
)
|
|
|
|
lower_thirds_info_string = forms.CharField(
|
2021-11-21 07:43:33 +00:00
|
|
|
help_text=_(
|
|
|
|
"Will only be shown if there's a talk running."
|
|
|
|
),
|
2021-11-21 07:06:35 +00:00
|
|
|
initial="",
|
|
|
|
label=_("info line"),
|
2021-11-20 16:46:05 +00:00
|
|
|
required=False,
|
|
|
|
)
|