fix: linebreaksbr

This commit is contained in:
Élie Bouttier 2017-07-30 17:41:11 +02:00
parent 9f151c90b6
commit 323fb74475
1 changed files with 6 additions and 7 deletions

View File

@ -8,7 +8,12 @@
<h1>{{ participant }}</h1>
<h2>{% trans "Biography" %}</h2>
<p>{{ participant.biography }}</p>
<p>{{ participant.biography|linebreaksbr }}</p>
{% if participant.notes %}
<h2>{% trans "Notes" %}</h2>
<p>{{ participant.notes|linebreaksbr }}</p>
{% endif %}
<h2>{% trans "Informations" %}</h2>
<ul>
@ -23,12 +28,6 @@
{% if participant.language %}<li><b>{% trans "Language:" %}</b> {{ participant.language }}</li>{% endif %}
</ul>
{% if participant.notes %}
<h2>{% trans "Notes" %}</h2>
<em>{% trans "This field is only visible by organizers." %}</em>
<p>{{ participant.notes }}</p>
{% endif %}
<h2>{% trans "Talks" %}</h2>
{% regroup participant.talk_set.all by category as category_list %}
{% for category in category_list %}