From f34868461a44ecb363072bdb75ac1cd4ea508e17 Mon Sep 17 00:00:00 2001 From: Mike McCann Date: Thu, 30 May 2024 22:48:26 +0000 Subject: [PATCH 1/2] Remove centering of div.row and div.col --- smdb/smdb/static/css/project.css | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/smdb/smdb/static/css/project.css b/smdb/smdb/static/css/project.css index 836e521d..fab42126 100644 --- a/smdb/smdb/static/css/project.css +++ b/smdb/smdb/static/css/project.css @@ -30,10 +30,7 @@ div.row { margin-left: 2rem; margin-right: 1rem; } -div.row -div.col { - text-align: center; -} + #comp_detail { margin-left: 2rem; margin-right: 1rem; From 06d2e0fb9b26f32b6de6132b083eca6053321676 Mon Sep 17 00:00:00 2001 From: Mike McCann Date: Thu, 30 May 2024 22:49:15 +0000 Subject: [PATCH 2/2] 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:"" }}