Changeset - 787a42952cc0
[Not reviewed]
0 1 0
Christopher Neugebauer - 4 years ago 2017-11-29 02:24:28
chrisjrn@gmail.com
no really
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templatetags/nbpy_tags.py
Show inline comments
...
 
@@ -70,7 +70,7 @@ def company_split(name):
 
@register.simple_tag(takes_context=True)
 
def special(context, user):
 
    organiser = user.groups.filter(name='Conference organisers').exists()
 
    speaker = if user.speaker_profile and user.speaker_profile.presentations.count() != 0
 
    speaker = if hasattr(user, "speaker_profile") and user.speaker_profile.presentations.count() != 0
 
    volunteer = "Volunteer" in ticket_type(context)
 

	
 
    if organiser:
0 comments (0 inline, 0 general)