Skip to content
Snippets Groups Projects
Commit 89122595 authored by Felix Schäfer's avatar Felix Schäfer :construction_worker:
Browse files

Only publicly show registrations when there's an attendee

parent 4b3f607b
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ def add_public_registrations_table(sender, **kwargs):
{
'gr_url': get_gravatar_url(pop.attendee_email, size=24, default="wavatar"),
'fields': [pop.attendee_name_cached]
} for pop in public_order_positions
} for pop in public_order_positions if pop.attendee_email and pop.attendee_name_cached
]
template = get_template('pretix_public_registrations/front_page.html')
cached = template.render({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment