summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/expedition.html2
-rw-r--r--templates/logbookentry.html4
-rw-r--r--templates/personindex.html4
3 files changed, 5 insertions, 5 deletions
diff --git a/templates/expedition.html b/templates/expedition.html
index 7c0ecd5..0b0d360 100644
--- a/templates/expedition.html
+++ b/templates/expedition.html
@@ -69,7 +69,7 @@ an "S" for a survey trip. The colours are the same for people on the same trip.
{% regroup dateditems|dictsort:"date" by date as dates %}
{% for date in dates %}
<tr>
-<td>{{date.grouper}}</td>
+<td>{{date.grouper|date:"D d M Y"}}</td>
<td>{% for item in date.list %}
{% if item.isLogbookEntry %}<a href="{{ item.get_absolute_url }}">{{item.title|safe}}</a><br/>{% endif %}
{% endfor %}</td>
diff --git a/templates/logbookentry.html b/templates/logbookentry.html
index 0534de9..5c8c341 100644
--- a/templates/logbookentry.html
+++ b/templates/logbookentry.html
@@ -7,7 +7,7 @@
{% block related %}{% endblock %}
{% block nav %}{% endblock %}
-<h2>{{logbookentry.title}}</h2>
+<h2>{{logbookentry.title|safe}}</h2>
<div id="related">
<p><a href="{{ logbookentry.expedition.get_absolute_url }}">{{logbookentry.expedition.name}}</a></p>
@@ -66,7 +66,7 @@
<div id="col1">
<div class="logbookentry">
- <b>{{logbookentry.date}}</b>
+ <b>{{logbookentry.date|date:"D d M Y"}}</b>
{% if logbookentry.entry_type == "html" %}
<p>{{logbookentry.text|safe}}</p>
{% else %}
diff --git a/templates/personindex.html b/templates/personindex.html
index 1f21b2b..56e97d9 100644
--- a/templates/personindex.html
+++ b/templates/personindex.html
@@ -8,12 +8,12 @@
<h2>Notable expoers</h2>
<table class="searchable">
<tr><th>Person</th><th>First</th><th>Last</th><th>Notability</th></tr>
-{% for person in notablepersons %}
+{% for person in notablepersons|dictsortreversed:"notability" %}
<tr>
<td><a href="{{ person.get_absolute_url }}">{{person|wiki_to_html_short}}</a></td>
<td><a href="{{ person.first.get_absolute_url }}">{{ person.first.expedition.year }}</a></td>
<td><a href="{{ person.last.get_absolute_url }}">{{ person.last.expedition.year }}</a></td>
- <td>{{person.notability}}</td>
+ <td>{{person.notability|floatformat:2}}</td>
</tr>
{% endfor %}
</table>