speaker tages
This commit is contained in:
parent
404d2fb60d
commit
e3e64fe96f
1 changed files with 3 additions and 2 deletions
|
@ -74,11 +74,12 @@ def special(context, user):
|
|||
speaker = user.speaker_profile.presentations.count() != 0
|
||||
except Exception:
|
||||
speaker = False
|
||||
volunteer = "Volunteer" in ticket_type(context)
|
||||
tt = ticket_type(context)
|
||||
volunteer = "Volunteer" in tt
|
||||
|
||||
if organiser:
|
||||
return "Organizer"
|
||||
elif speaker:
|
||||
elif speaker or "Speaker" in tt:
|
||||
return "Speaker"
|
||||
elif volunteer:
|
||||
return "Staff"
|
||||
|
|
Loading…
Reference in a new issue