From f112cf3305b091fe2a30c54ff57838e33cee9b7f Mon Sep 17 00:00:00 2001 From: Grizzly Date: Sat, 10 Aug 2019 08:53:52 +0000 Subject: [PATCH] liens des profils dans la liste des tickets --- tickets/templates/tickets/aff_tickets.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tickets/templates/tickets/aff_tickets.html b/tickets/templates/tickets/aff_tickets.html index 56dda782..ed9e1f88 100644 --- a/tickets/templates/tickets/aff_tickets.html +++ b/tickets/templates/tickets/aff_tickets.html @@ -64,7 +64,11 @@ with this program; if not, write to the Free Software Foundation, Inc., - {{ ticket.user }} + {% if ticket.user %} + {{ ticket.user.id }} + {% else %} + Anonyme + {% endif %} {{ ticket.title }} {{ ticket.date }} {% if ticket.solved %}