Changeset - 1355c0ba83d3
[Not reviewed]
0 1 0
Christopher Neugebauer - 6 years ago 2017-11-29 02:26:05
chrisjrn@gmail.com
sigh
1 file changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templatetags/nbpy_tags.py
Show inline comments
...
 
@@ -72,3 +72,6 @@ def special(context, user):
 
    organiser = user.groups.filter(name='Conference organisers').exists()
 
    speaker = if hasattr(user, "speaker_profile") and user.speaker_profile.presentations.count() != 0
 
    try:
 
        speaker = user.speaker_profile.presentations.count() != 0
 
    except:
 
        speaker = False
 
    volunteer = "Volunteer" in ticket_type(context)
0 comments (0 inline, 0 general)