diff options
author | Alban Gruin | 2018-01-11 14:09:33 +0100 |
---|---|---|
committer | Alban Gruin | 2018-01-11 14:09:33 +0100 |
commit | 81cb9b8c6a96fa8529c6d7f6ca55dfd56a1f2e5d (patch) | |
tree | 7e80f5d627a4b2c2d34e324d8f09a0c248d35f8d /templates/timetable_common.html | |
parent | 8a71b0a55847e8783006b5a9514f64e0129578c9 (diff) |
On remplace les <br /> dans le champ remarque par des retours à la
ligne lors du parsage, puis on les remplace à nouveau par des <br />
lors du rendu des templates.
Diffstat (limited to 'templates/timetable_common.html')
-rw-r--r-- | templates/timetable_common.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/timetable_common.html b/templates/timetable_common.html index d9e4ec7..21300f1 100644 --- a/templates/timetable_common.html +++ b/templates/timetable_common.html @@ -6,7 +6,7 @@ <li class="course"> <b>{{ course }}</b>{% if course.type %} ({{ course.type }}){% endif %}, de {{ course.begin|date:"H:i" }} à {{ course.end|date:"H:i" }}{% if course.rooms.all|length > 0 %}<br /> <em>{% if group_mode %}{{ course.rooms.all|format_rooms }}{% else %}{{ course.groups.all|join:", " }}{% endif %}</em>{% endif %}{% if course.notes %}<br /> - <small>Remarques : {{ course.notes }}</small>{% endif %} + <small>Remarques : {{ course.notes|linebreaksbr }}</small>{% endif %} </li>{% endfor %} </ul> </section>{% empty %} |