speaker tages

This commit is contained in:
Christopher Neugebauer 2017-12-01 17:45:03 -08:00
parent 404d2fb60d
commit e3e64fe96f

View file

@ -74,11 +74,12 @@ def special(context, user):
speaker = user.speaker_profile.presentations.count() != 0 speaker = user.speaker_profile.presentations.count() != 0
except Exception: except Exception:
speaker = False speaker = False
volunteer = "Volunteer" in ticket_type(context) tt = ticket_type(context)
volunteer = "Volunteer" in tt
if organiser: if organiser:
return "Organizer" return "Organizer"
elif speaker: elif speaker or "Speaker" in tt:
return "Speaker" return "Speaker"
elif volunteer: elif volunteer:
return "Staff" return "Staff"