mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-13 12:12:18 +00:00
Soften the language on the members are in/open banner (#68)
This commit is contained in:
@@ -10,14 +10,14 @@ $(document).ready(function () {
|
|||||||
// Hackspace status
|
// Hackspace status
|
||||||
if ($('span#hackspace-status').length) {
|
if ($('span#hackspace-status').length) {
|
||||||
if (data.state.open) {
|
if (data.state.open) {
|
||||||
message = '<b>Open</b>'
|
message = 'are'
|
||||||
if ('message' in data.state) {
|
if ('message' in data.state) {
|
||||||
message = message + ': ' + data.state.message;
|
message = message + ': ' + data.state.message;
|
||||||
}
|
}
|
||||||
$('span#hackspace-status').html(message);
|
$('span#hackspace-status').html(message);
|
||||||
$('div#hackspace-open').addClass('is-success');
|
$('div#hackspace-open').addClass('is-success');
|
||||||
} else {
|
} else {
|
||||||
$('span#hackspace-status').html('<b>Closed</b>');
|
$('span#hackspace-status').html('aren\'t');
|
||||||
}
|
}
|
||||||
$('div#hackspace-open').fadeIn('slow');
|
$('div#hackspace-open').fadeIn('slow');
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
<div class="notification has-text-centered" id="hackspace-open">
|
<div class="notification has-text-centered" id="hackspace-open">
|
||||||
<p>Leigh Hackspace is currently <span id="hackspace-status"><i class="fas fa-spinner fa-spin"></i></span></p>
|
<p>There <span id="hackspace-status"><i class="fas fa-spinner fa-spin"></i></span> currently members in the Hackspace </p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user