forked from expo/troggle
Allow html chars in names
This commit is contained in:
parent
768ec83037
commit
8fe02e5c89
@ -37,7 +37,7 @@ an "S" for a survey trip. The colours are the same for people on the same trip.
|
|||||||
</tr>
|
</tr>
|
||||||
{% for personexpeditionday in personexpeditiondays %}
|
{% for personexpeditionday in personexpeditiondays %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ personexpeditionday.personexpedition.get_absolute_url }}">{{personexpeditionday.personexpedition.person}}</a></td>
|
<td><a href="{{ personexpeditionday.personexpedition.get_absolute_url }}">{{personexpeditionday.personexpedition.person|safe}}</a></td>
|
||||||
{% for persondayactivities in personexpeditionday.personrow %}
|
{% for persondayactivities in personexpeditionday.personrow %}
|
||||||
|
|
||||||
{% if persondayactivities.persontrips or persondayactivities.survexblocks %}
|
{% if persondayactivities.persontrips or persondayactivities.survexblocks %}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>
|
<h1>
|
||||||
<a href="{{personexpedition.person.get_absolute_url}}">{{personexpedition.person}}</a> :
|
<a href="{{personexpedition.person.get_absolute_url}}">{{personexpedition.person|safe}}</a> :
|
||||||
<a href="{{personexpedition.expedition.get_absolute_url}}">{{personexpedition.expedition}}</a>
|
<a href="{{personexpedition.expedition.get_absolute_url}}">{{personexpedition.expedition}}</a>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
<td>{{survexblock.name}}</td>
|
<td>{{survexblock.name}}</td>
|
||||||
<td>
|
<td>
|
||||||
{% if survexblock.expedition %}
|
{% if survexblock.expedition %}
|
||||||
<a href="{{survexblock.expedition.get_absolute_url}}">{{survexblock.date}}</a>
|
<a href="{{survexblock.expedition.get_absolute_url}}">{{survexblock.date|date:"D d M Y"}}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
{{survexblock.date}}
|
{{survexblock.date}}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user