From dbbd41218fff8d67565fbc67684b70e7bd02266f Mon Sep 17 00:00:00 2001 From: Josh Humphries Date: Wed, 10 Jul 2024 18:38:42 +0100 Subject: [PATCH 1/3] fix: remove version from BBCM specimen links --- ckanext/nhm/theme/assets/scripts/bbcm.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ckanext/nhm/theme/assets/scripts/bbcm.js b/ckanext/nhm/theme/assets/scripts/bbcm.js index 257fab95..5583fdc9 100644 --- a/ckanext/nhm/theme/assets/scripts/bbcm.js +++ b/ckanext/nhm/theme/assets/scripts/bbcm.js @@ -224,9 +224,7 @@ function createPopup(latlng, specs) { 'View on the Data Portal'; popupContent += ''; From a8679a0bb9b44d3861d7de68a24fb1dd06b9b7c5 Mon Sep 17 00:00:00 2001 From: Josh Humphries Date: Wed, 10 Jul 2024 18:39:25 +0100 Subject: [PATCH 2/3] fix: remove GA code, don't need it anymore --- ckanext/nhm/theme/templates/bbcm.html | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/ckanext/nhm/theme/templates/bbcm.html b/ckanext/nhm/theme/templates/bbcm.html index 69dd10ba..925603cc 100644 --- a/ckanext/nhm/theme/templates/bbcm.html +++ b/ckanext/nhm/theme/templates/bbcm.html @@ -15,23 +15,6 @@ {%- block page %} {{ super() }} - - -
From da336bb710c7f080413a673ed98468ea2d43cda5 Mon Sep 17 00:00:00 2001 From: Josh Humphries Date: Wed, 10 Jul 2024 18:43:01 +0100 Subject: [PATCH 3/3] fix: reinsert + to URL creation --- ckanext/nhm/theme/assets/scripts/bbcm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/nhm/theme/assets/scripts/bbcm.js b/ckanext/nhm/theme/assets/scripts/bbcm.js index 5583fdc9..f2365210 100644 --- a/ckanext/nhm/theme/assets/scripts/bbcm.js +++ b/ckanext/nhm/theme/assets/scripts/bbcm.js @@ -224,7 +224,7 @@ function createPopup(latlng, specs) { 'View on the Data Portal'; popupContent += '
';