Skip to content

Commit

Permalink
Changes TEAM_MEMBERs to be a list of ticket types
Browse files Browse the repository at this point in the history
  • Loading branch information
devjack committed Nov 21, 2024
1 parent 50f6fac commit b690519
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions badgegen/badgegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,11 @@ def generate_badge(runtime, params: BadgeParams):
SPRINTS_MONDAY = 569215 #unused
SPRINTS_TUESDAY = 569216 #unused

TEAM_MEMBER = 569202 # 637767 Late Team Member
TEAM_MEMBERS = [
569202
637767 #Late Team Member
]

SPEAKERS = {
569208, # Tracks Only Speaker
569203, # Speaker
Expand Down Expand Up @@ -289,7 +293,7 @@ def do_order(runtime, order):
bg_color = runtime.config['badge_design']['RED_CENTRE']
lozenge_text = "SAFETY TEAM"
generate_low_badge = True
elif position['item'] == runtime.config['pretix_tickets']['TEAM_MEMBER']:
elif position['item'] in runtime.config['pretix_tickets']['TEAM_MEMBERS']:
bg_ribbon_only = False
generate_low_badge = True
if questions['team'] == 'Core Team':
Expand Down

0 comments on commit b690519

Please sign in to comment.