Skip to content

Commit 196ca7d

Browse files
authored
Merge pull request #78 from code4lib/canceled_workshop
Start putting canceled workshop titles in strikethrough
2 parents 264f285 + 5b5db29 commit 196ca7d

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)