From 06d2e0fb9b26f32b6de6132b083eca6053321676 Mon Sep 17 00:00:00 2001 From: Mike McCann Date: Thu, 30 May 2024 22:49:15 +0000 Subject: [PATCH] Add fields added in the --spreadsheet processing work --- smdb/smdb/templates/smdb/mission_detail.html | 24 +++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/smdb/smdb/templates/smdb/mission_detail.html b/smdb/smdb/templates/smdb/mission_detail.html index a72b2d61..3fdbdf2c 100644 --- a/smdb/smdb/templates/smdb/mission_detail.html +++ b/smdb/smdb/templates/smdb/mission_detail.html @@ -33,7 +33,29 @@

Mission {{ mission.name }}

Track length: - {{ mission.track_length }} km + {{ mission.track_length|default_if_none:"" }} km +
+
+ Route file: + {{ mission.route_file|default_if_none:"" }} +
+
+ Region name: + {{ mission.region_name|default_if_none:"" }} +
+
+ Quality categories: + {% for qc in mission.quality_categories.all %} + {{ qc.name }}, + {% endfor %} +
+
+ Patch test: + {{ mission.patch_test|default_if_none:"" }} +
+
+ Repeat survey: + {{ mission.repeat_survey|default_if_none:"" }}