Browse Source

Fix : affichage des tickets, évite un crash

display_preferences
Gabriel Detraz 6 years ago
parent
commit
58c120410a
  1. 2
      tickets/views.py

2
tickets/views.py

@ -186,7 +186,7 @@ def preferences(request):
def contact(request):
"""View to display a contact address on the contact page
used here to display a link to open a ticket"""
return ('users', render_to_string('tickets/contact.html'))
return render_to_string('tickets/contact.html')
def navbar_user():
"""View to display the ticket link in thet user's dropdown in the navbar"""

Loading…
Cancel
Save