8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 11:23:10 +00:00

Fix : affichage des tickets, évite un crash

This commit is contained in:
Gabriel Detraz 2019-10-10 15:43:52 +02:00
parent 144119c26a
commit 58c120410a

View file

@ -186,7 +186,7 @@ def preferences(request):
def contact(request): def contact(request):
"""View to display a contact address on the contact page """View to display a contact address on the contact page
used here to display a link to open a ticket""" 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(): def navbar_user():
"""View to display the ticket link in thet user's dropdown in the navbar""" """View to display the ticket link in thet user's dropdown in the navbar"""