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
|
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"
|
||||||
|
|
Loading…
Reference in a new issue