From 11ede81c0f03785c9fd8bdbbe3f9b1c926bbf6f5 Mon Sep 17 00:00:00 2001 From: Dmytro Trotsko Date: Mon, 27 May 2024 17:33:37 +0300 Subject: [PATCH] OKRS24-204 Added missing 'nation' geo value to plot/export data section. --- src/fixtures/nation.json | 15 +++++++++++++++ .../signals/epivis_export_data_block.html | 15 +++++++++------ 2 files changed, 24 insertions(+), 6 deletions(-) create mode 100644 src/fixtures/nation.json diff --git a/src/fixtures/nation.json b/src/fixtures/nation.json new file mode 100644 index 0000000..09143c0 --- /dev/null +++ b/src/fixtures/nation.json @@ -0,0 +1,15 @@ +[ + { + "model": "signals.geographyunit", + "pk": 3985, + "fields": { + "created": "2024-05-27T13:52:04.705Z", + "modified": "2024-05-27T13:52:04.705Z", + "geo_id": "US", + "name": "United States", + "display_name": "United States", + "level": 5, + "geography": 5 + } + } +] diff --git a/src/templates/signals/epivis_export_data_block.html b/src/templates/signals/epivis_export_data_block.html index 924a8d5..1801a07 100644 --- a/src/templates/signals/epivis_export_data_block.html +++ b/src/templates/signals/epivis_export_data_block.html @@ -106,7 +106,7 @@
Plot / Export data