Only show the hackspace status if successful, resolves #46

This commit is contained in:
2024-04-03 15:32:30 +01:00
parent bd2c7ad66e
commit 094bc615eb
2 changed files with 6 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ $(document).ready(function () {
} else { } else {
$('span#hackspace-status').html('<b>Closed</b>'); $('span#hackspace-status').html('<b>Closed</b>');
} }
$('div#hackspace-open').fadeIn('slow');
} }
// 'printers' shortcode // 'printers' shortcode

View File

@@ -369,3 +369,8 @@ footer {
div.highlight { div.highlight {
padding-bottom: 1.25em; padding-bottom: 1.25em;
} }
// Hackspace Status
div#hackspace-open {
display: none;
}