mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 16:51:54 +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
|
if issunday := (date.weekday() == 6): # WALRUS
|
||||||
pcell["sunday"] = issunday
|
pcell["sunday"] = issunday
|
||||||
prow.append(pcell)
|
prow.append(pcell)
|
||||||
personexpodays.append({"personexpedition": personexpedition, "personrow": prow})
|
personexpodays.append({"personexpedition": personexpedition, "personrow": prow, "sortname": personexpedition.person.last_name})
|
||||||
|
|
||||||
ts[expeditionname] = {
|
ts[expeditionname] = {
|
||||||
"year": int(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>
|
</th>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr>
|
</tr>
|
||||||
{% for personexpoday in personexpodays %}
|
{% for personexpoday in personexpodays|dictsort:"sortname" %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{{ personexpoday.personexpedition.get_absolute_url }}">{{personexpoday.personexpedition.person.fullname|safe}}</a></td>
|
<td><a href="{{ personexpoday.personexpedition.get_absolute_url }}">{{personexpoday.personexpedition.person.fullname|safe}}</a></td>
|
||||||
{% for activities in personexpoday.personrow %}
|
{% for activities in personexpoday.personrow %}
|
||||||
|
Loading…
Reference in New Issue
Block a user