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 %} {{ sb }} - {{sb.date }} + {{sb.date }} {{sb.parent }} {{sb.survexfile.path}} {{sb.legslength|floatformat:"1g" }}m @@ -24,7 +24,9 @@ i.e. they have a survex block (begin..end) with no *REF line which refers to the
If the "team" field is empty, it probably means that the survex file has been created since the last database reset.
-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. +
+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.

YearSurvex
Survey
Blocks
Survex
Survey Legs
Survex
length(m)