Changeset - e3e64fe96f61
[Not reviewed]
0 1 0
Christopher Neugebauer - 3 years ago 2017-12-02 01:45:03
chrisjrn@gmail.com
speaker tages
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templatetags/nbpy_tags.py
Show inline comments
...
 
@@ -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"
0 comments (0 inline, 0 general)