From 323fb744751b6a0e60493a5e3cb0ed6f636fb267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89lie=20Bouttier?= Date: Sun, 30 Jul 2017 17:41:11 +0200 Subject: [PATCH] fix: linebreaksbr --- cfp/templates/cfp/staff/participant_details.html | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/cfp/templates/cfp/staff/participant_details.html b/cfp/templates/cfp/staff/participant_details.html index bc92d0d..eeb23d1 100644 --- a/cfp/templates/cfp/staff/participant_details.html +++ b/cfp/templates/cfp/staff/participant_details.html @@ -8,7 +8,12 @@

{{ participant }}

{% trans "Biography" %}

-

{{ participant.biography }}

+

{{ participant.biography|linebreaksbr }}

+ +{% if participant.notes %} +

{% trans "Notes" %}

+

{{ participant.notes|linebreaksbr }}

+{% endif %}

{% trans "Informations" %}

-{% if participant.notes %} -

{% trans "Notes" %}

-{% trans "This field is only visible by organizers." %} -

{{ participant.notes }}

-{% endif %} -

{% trans "Talks" %}

{% regroup participant.talk_set.all by category as category_list %} {% for category in category_list %}