Skip to content

Commit 5b5db29

Browse files
committed
Introduced strikethrough for canceled workshop titles ✨
1 parent 264f285 commit 5b5db29

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

_includes/workshops/card.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,15 @@
1010
<div class="well workshop-well" data-length="{{ workshop.time }}" data-location="{{ location.id }}">
1111
<div class="row">
1212
<div class="col-12">
13-
<h2 class="h4"><a href="{{ workshop.url }}">{{ workshop.title }}</a></h2>
13+
<h2 class="h4">
14+
{% if workshop.full == "canceled" %}
15+
<s>
16+
{% endif %}
17+
<a href="{{ workshop.url }}">{{ workshop.title }}</a>
18+
{% if workshop.full == "canceled" %}
19+
</s>
20+
{% endif %}
21+
</h2>
1422
{% if workshop.full == true %}
1523
<p class="alert alert-warning">This workshop is full.</p>
1624
{% elsif workshop.full == "canceled" %}

0 commit comments

Comments
 (0)