Skip to content

Commit

Permalink
Workshop updates
Browse files Browse the repository at this point in the history
  • Loading branch information
escowles committed Feb 6, 2025
1 parent ba9b3b1 commit 8ad317d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion _includes/workshops/card.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
<div class="col-12">
<h2 class="h4"><a href="{{ workshop.url }}">{{ workshop.title }}</a></h2>
{% if workshop.full == true %}
<p class="alert alert-danger">This workshop is full.</p>
<p class="alert alert-warning">This workshop is full.</p>
{% elsif workshop.full == "canceled" %}
<p class="alert alert-danger">This workshop has been canceled.</p>
{% elsif workshop.full == "limited" %}
<p class="alert alert-warning">Limited availability.</p>
{% endif %}
Expand Down
2 changes: 2 additions & 0 deletions _layouts/presentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ <h1>{{ page.title }}</h1>

{% if page.full == true %}
<p class="alert alert-warning">This workshop is at maximum capacity and no longer accepting registrations.</p>
{% elsif page.full == "canceled" %}
<p class="alert alert-danger">This workshop has been canceled.</p>
{% elsif page.full == "limited" %}
<p class="alert alert-warning">This workshop is near capacity.</p>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: presentation
type: workshop
categories: workshops
full: false
full: canceled
learning-outcomes:
attendee-requirements: bring laptops into the workshop
max-attendees: 20
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
layout: presentation
type: workshop
categories: workshops
full: false
full: true
learning-outcomes:
attendee-requirements: None, but participants ought to bring their own computer; BYOD
max-attendees: 12
Expand Down

0 comments on commit 8ad317d

Please sign in to comment.