mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-21 23:01:52 +00:00
re-order names
This commit is contained in:
parent
a6ca40becd
commit
00f5ffa1b6
@ -116,7 +116,7 @@ def expedition(request, expeditionname):
|
||||
if issunday := (date.weekday() == 6): # WALRUS
|
||||
pcell["sunday"] = issunday
|
||||
prow.append(pcell)
|
||||
personexpodays.append({"personexpedition": personexpedition, "personrow": prow})
|
||||
personexpodays.append({"personexpedition": personexpedition, "personrow": prow, "sortname": personexpedition.person.last_name})
|
||||
|
||||
ts[expeditionname] = {
|
||||
"year": int(expeditionname),
|
||||
|
@ -44,7 +44,7 @@ an "<b>S</b>" for a survey trip. The colours of the "<b>T</b>" and "<b>S</b>" a
|
||||
</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% for personexpoday in personexpodays %}
|
||||
{% for personexpoday in personexpodays|dictsort:"sortname" %}
|
||||
<tr>
|
||||
<td><a href="{{ personexpoday.personexpedition.get_absolute_url }}">{{personexpoday.personexpedition.person.fullname|safe}}</a></td>
|
||||
{% for activities in personexpoday.personrow %}
|
||||
|
Loading…
Reference in New Issue
Block a user