From c00883653381e714ca7f445f3e9de14aa4f5a08b Mon Sep 17 00:00:00 2001 From: Paul <2320232+phyushin@users.noreply.github.com> Date: Wed, 3 Jul 2024 21:00:52 +0100 Subject: [PATCH] Soften the language on the members are in/open banner (#68) --- assets/js/site.js | 4 ++-- themes/lhs/layouts/shortcodes/openstatus.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/js/site.js b/assets/js/site.js index 1069294..a54661f 100644 --- a/assets/js/site.js +++ b/assets/js/site.js @@ -10,14 +10,14 @@ $(document).ready(function () { // Hackspace status if ($('span#hackspace-status').length) { if (data.state.open) { - message = 'Open' + message = 'are' if ('message' in data.state) { message = message + ': ' + data.state.message; } $('span#hackspace-status').html(message); $('div#hackspace-open').addClass('is-success'); } else { - $('span#hackspace-status').html('Closed'); + $('span#hackspace-status').html('aren\'t'); } $('div#hackspace-open').fadeIn('slow'); } diff --git a/themes/lhs/layouts/shortcodes/openstatus.html b/themes/lhs/layouts/shortcodes/openstatus.html index 2259d99..159d322 100644 --- a/themes/lhs/layouts/shortcodes/openstatus.html +++ b/themes/lhs/layouts/shortcodes/openstatus.html @@ -1,3 +1,3 @@
Leigh Hackspace is currently
+There currently members in the Hackspace