mirror of
https://github.com/Kunsi/pretalx-plugin-broadcast-tools
synced 2025-06-07 01:12:22 +00:00
pdf export: make "show internal notes" and "ignore do_not_record" configurable
This commit is contained in:
parent
2e221cbf46
commit
ddd4bca708
3 changed files with 33 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
from django.forms import BooleanField
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from hierarkey.forms import HierarkeyForm
|
||||
from i18nfield.forms import I18nFormField, I18nFormMixin, I18nTextInput
|
||||
|
@ -18,3 +19,19 @@ class BroadcastToolsSettingsForm(I18nFormMixin, HierarkeyForm):
|
|||
required=False,
|
||||
widget=I18nTextInput,
|
||||
)
|
||||
broadcast_tools_pdf_show_internal_notes = BooleanField(
|
||||
help_text=_(
|
||||
"If checked, the value of the 'internal notes' field in a "
|
||||
"submission will get added to the pdf export."
|
||||
),
|
||||
label=_("Show internal notes in pdf export"),
|
||||
required=False,
|
||||
)
|
||||
broadcast_tools_pdf_ignore_do_not_record = BooleanField(
|
||||
help_text=_(
|
||||
"If checked, 'do not record' talks will not generate a page "
|
||||
"in the pdf export."
|
||||
),
|
||||
label=_("Ignore 'do not record' talks when generating pdf"),
|
||||
required=False,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue