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 {
$('span#hackspace-status').html('<b>Closed</b>');
}
$('div#hackspace-open').fadeIn('slow');
}
// 'printers' shortcode

View File

@@ -368,4 +368,9 @@ footer {
// Fix syntax highlighting to match Bulma pre
div.highlight {
padding-bottom: 1.25em;
}
// Hackspace Status
div#hackspace-open {
display: none;
}