Sort people by notability

Better errors and tidy
Nicer date formats
This commit is contained in:
Sam Wenham
2019-04-02 02:04:38 +01:00
parent c4301cf6df
commit 05c5e26e99
5 changed files with 6 additions and 9 deletions

View File

@@ -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>