Skip to content

Commit

Permalink
Soften the language on the members are in/open banner (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
phyushin authored Jul 3, 2024
1 parent b254a13 commit c008836
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions assets/js/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ $(document).ready(function () {
// Hackspace status
if ($('span#hackspace-status').length) {
if (data.state.open) {
message = '<b>Open</b>'
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('<b>Closed</b>');
$('span#hackspace-status').html('aren\'t');
}
$('div#hackspace-open').fadeIn('slow');
}
Expand Down
2 changes: 1 addition & 1 deletion themes/lhs/layouts/shortcodes/openstatus.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<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>

0 comments on commit c008836

Please sign in to comment.