forked from CGM_Public/pretix_original
Add title scheme "dr_prof_he" for person names
This commit is contained in:
@@ -2756,6 +2756,11 @@ PERSON_NAME_TITLE_GROUPS = OrderedDict([
|
|||||||
'Dr.',
|
'Dr.',
|
||||||
'Prof.',
|
'Prof.',
|
||||||
'Prof. Dr.',
|
'Prof. Dr.',
|
||||||
|
))),
|
||||||
|
('dr_prof_he', ('Dr., Prof., H.E.', (
|
||||||
|
'Dr.',
|
||||||
|
'Prof.',
|
||||||
|
'H.E.',
|
||||||
)))
|
)))
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
@@ -589,7 +589,7 @@ class EventSettingsForm(SettingsForm):
|
|||||||
(k, '{scheme}: {samples}'.format(
|
(k, '{scheme}: {samples}'.format(
|
||||||
scheme=v[0],
|
scheme=v[0],
|
||||||
samples=', '.join(v[1])
|
samples=', '.join(v[1])
|
||||||
))
|
) if v[0] != ', '.join(v[1]) else v[0])
|
||||||
for k, v in PERSON_NAME_TITLE_GROUPS.items()
|
for k, v in PERSON_NAME_TITLE_GROUPS.items()
|
||||||
]
|
]
|
||||||
if not self.event.has_subevents:
|
if not self.event.has_subevents:
|
||||||
|
|||||||
Reference in New Issue
Block a user