2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 23:01:52 +00:00

add url to wallets

This commit is contained in:
Philip Sargent 2023-08-05 13:14:45 +03:00
parent 68409c70fd
commit 126aaa0633
2 changed files with 5 additions and 2 deletions

View File

@ -49,6 +49,7 @@ def svxfilewild(request, year=None):
if sb.name != "rootblock":
svxwild.append(sb)
print(f" WILD {sb.survexfile} {sb.date}")
sb.year = f"{expedition}"
people = SurvexPersonRole.objects.filter(survexblock=sb)
team = []
for p in people:

View File

@ -14,7 +14,7 @@ i.e. they have a survex block (begin..end) with no *REF line which refers to the
{% for sb in svxwild %}
<tr>
<td style="text-align:center"> {{ sb }} </td>
<td style="text-align:center"> {{sb.date }} </td>
<td style="text-align:center"><a href="/wallets/year/{{sb.year}}">{{sb.date }}</a> </td>
<td style="text-align:center"> {{sb.parent }} </td>
<td style="text-align:left"> <a href="{% url "svx" sb.survexfile.path %}">{{sb.survexfile.path}}</a> </td>
<td style="text-align:center"> {{sb.legslength|floatformat:"1g" }}m </td>
@ -24,7 +24,9 @@ i.e. they have a survex block (begin..end) with no *REF line which refers to the
<br />
If the "team" field is empty, it probably means that the survex file has been created since the last database reset.
<br />
If the parent block says "troggle _unseens" then the survex file has not been plumbed in to the expo survex network yet.
If the parent block says "troggle _unseens" or "None" then the survex file has not been plumbed in to the expo survex network yet.
<br />
If there is a *ref line of the correct format, then maybe that wallet has not been created yet. Create it, and fill in the data.
<br /><br />
<table>
<tr><th>Year</th><th>Survex<br>Survey<br>Blocks</th><th>Survex<br>Survey Legs</th><th>Survex <br>length(m)</th></tr>