From c3a360e691b15689c68b7c0f9802175491a6946d Mon Sep 17 00:00:00 2001 From: Ian Renton Date: Sat, 29 Aug 2026 08:34:04 +0100 Subject: [PATCH] Consistency about whether "GMA Islands" is plural or not; widen columns on SIG list so it doesn't wrap --- core/constants.py | 2 +- providers/spot/gma.py | 4 ++-- static/js/spotsbandsandmap.js | 2 +- static/js/ui-ham.js | 4 ++-- templates/add_spot.html | 2 +- templates/alerts.html | 2 +- templates/bands.html | 4 ++-- templates/base.html | 10 +++++----- templates/conditions.html | 2 +- templates/map.html | 4 ++-- templates/spots.html | 4 ++-- templates/status.html | 2 +- 12 files changed, 21 insertions(+), 21 deletions(-) diff --git a/core/constants.py b/core/constants.py index 0342e59..adf0de9 100644 --- a/core/constants.py +++ b/core/constants.py @@ -54,7 +54,7 @@ SIGS = [ ref_regex=r"[A-Z]{2}\-\d{3}", ), SIG( - name="GMA Island", + name="GMA Islands", comment_names=[], description="Global Mountain Activity - Islands", ref_regex=r"(([A-Z]{2}\-\d{3})|([A-Z0-9]{1,3}\/[A-Z]{2}\-\d{3}))", diff --git a/providers/spot/gma.py b/providers/spot/gma.py index e36a334..3ebe4c5 100644 --- a/providers/spot/gma.py +++ b/providers/spot/gma.py @@ -118,8 +118,8 @@ class GMA(HTTPSpotProvider): spot.sig_refs[0].sig = "IOTA" spot.sig = "IOTA" case "GMA Island": - spot.sig_refs[0].sig = "GMA Island" - spot.sig = "GMA Island" + spot.sig_refs[0].sig = "GMA Islands" + spot.sig = "GMA Islands" case "Lighthouse (ILLW)": spot.sig_refs[0].sig = "ILLW" spot.sig = "ILLW" diff --git a/static/js/spotsbandsandmap.js b/static/js/spotsbandsandmap.js index 1509e52..968dc03 100644 --- a/static/js/spotsbandsandmap.js +++ b/static/js/spotsbandsandmap.js @@ -40,7 +40,7 @@ function setHamHFBandToggles() { // Generate SIGs filter card. This one is also a special case. function generateSIGsMultiToggleFilterCard(sig_options) { - const $grid = $('
'); + const $grid = $('
'); sig_options.forEach(o => { const domSafeName = o["name"].replace(/^[^A-Za-z0-9]+|[^\w]+/gi, ""); $grid.append(`
`); diff --git a/static/js/ui-ham.js b/static/js/ui-ham.js index f365784..fc29a90 100644 --- a/static/js/ui-ham.js +++ b/static/js/ui-ham.js @@ -345,7 +345,7 @@ const SIG_ICONS = { "SOTA": "fa-mountain-sun", "WWFF": "fa-seedling", "GMA": "fa-person-hiking", - "GMA Island": "fa-person-hiking", + "GMA Islands": "fa-person-hiking", "WWBOTA": "fa-radiation", "HEMA": "fa-mound", "IOTA": "fa-book-atlas", @@ -373,7 +373,7 @@ const SIG_NAMES = { "SOTA": "Summits on the Air", "WWFF": "Worldwide Flora & Fauna", "GMA": "Global Mountain Activity", - "GMA Island": "Global Mountain Activity - Islands", + "GMA Islands": "Global Mountain Activity - Islands", "WWBOTA": "Bunkers on the Air", "HEMA": "Humps Excluding Marilyns Award", "IOTA": "Islands on the Air", diff --git a/templates/add_spot.html b/templates/add_spot.html index 082c3c6..88cdf57 100644 --- a/templates/add_spot.html +++ b/templates/add_spot.html @@ -76,7 +76,7 @@
- + diff --git a/templates/alerts.html b/templates/alerts.html index 815fed2..80d73ca 100644 --- a/templates/alerts.html +++ b/templates/alerts.html @@ -84,7 +84,7 @@
- + diff --git a/templates/bands.html b/templates/bands.html index 8b1950b..3889fc4 100644 --- a/templates/bands.html +++ b/templates/bands.html @@ -76,8 +76,8 @@ - - + + diff --git a/templates/base.html b/templates/base.html index 795674a..229e668 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,6 +1,6 @@ {% extends "skeleton.html" %} {% block head_extra %} - + @@ -15,10 +15,10 @@ window.fetchEventSource = fetchEventSource; - - - - + + + + {% end %} {% block body %}
diff --git a/templates/conditions.html b/templates/conditions.html index 7b45b3e..af968b5 100644 --- a/templates/conditions.html +++ b/templates/conditions.html @@ -284,7 +284,7 @@
- + diff --git a/templates/map.html b/templates/map.html index c466e2d..f2d6390 100644 --- a/templates/map.html +++ b/templates/map.html @@ -113,8 +113,8 @@ const CARTODB_API_KEY = "{{ web_ui_options.get('cartodb_api_key', '') }}"; - - + + diff --git a/templates/spots.html b/templates/spots.html index 9615f26..5978fdc 100644 --- a/templates/spots.html +++ b/templates/spots.html @@ -113,8 +113,8 @@ - - + + diff --git a/templates/status.html b/templates/status.html index 759190b..89be500 100644 --- a/templates/status.html +++ b/templates/status.html @@ -86,7 +86,7 @@ - +