summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/views/statistics.py1
-rw-r--r--templates/survexfilewild.html6
2 files changed, 5 insertions, 2 deletions
diff --git a/core/views/statistics.py b/core/views/statistics.py
index a796d04..a820c00 100644
--- a/core/views/statistics.py
+++ b/core/views/statistics.py
@@ -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:
diff --git a/templates/survexfilewild.html b/templates/survexfilewild.html
index ef25b11..20f5e2e 100644
--- a/templates/survexfilewild.html
+++ b/templates/survexfilewild.html
@@ -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>