From b2dd905f0ee8302fe6dc297ee011477d06b60ab1 Mon Sep 17 00:00:00 2001 From: Sam Wenham Date: Wed, 26 Jun 2019 18:36:08 +0100 Subject: [PATCH] Allow html chars in names --- templates/expedition.html | 2 +- templates/personexpedition.html | 2 +- templates/svxcavesingle.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/expedition.html b/templates/expedition.html index 0b0d360..b5b58a8 100644 --- a/templates/expedition.html +++ b/templates/expedition.html @@ -37,7 +37,7 @@ an "S" for a survey trip. The colours are the same for people on the same trip. {% for personexpeditionday in personexpeditiondays %} - {{personexpeditionday.personexpedition.person}} + {{personexpeditionday.personexpedition.person|safe}} {% for persondayactivities in personexpeditionday.personrow %} {% if persondayactivities.persontrips or persondayactivities.survexblocks %} diff --git a/templates/personexpedition.html b/templates/personexpedition.html index 30d071b..93228d9 100644 --- a/templates/personexpedition.html +++ b/templates/personexpedition.html @@ -7,7 +7,7 @@ {% block content %}

- {{personexpedition.person}} : + {{personexpedition.person|safe}} : {{personexpedition.expedition}}

diff --git a/templates/svxcavesingle.html b/templates/svxcavesingle.html index ad5540f..54a4250 100644 --- a/templates/svxcavesingle.html +++ b/templates/svxcavesingle.html @@ -41,7 +41,7 @@ {{survexblock.name}} {% if survexblock.expedition %} - {{survexblock.date}} + {{survexblock.date|date:"D d M Y"}} {% else %} {{survexblock.date}} {% endif %}