Skip to content

Commit 3af2431

Browse files
add banner
1 parent b989d39 commit 3af2431

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

radboudumc-template/templates/people-single.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@ <h2 class="text-muted">{{ page.position }}</h2>
3939
<a href="https://www.radboudumc.nl/en/patient-care/getting-there">{{ page.office }}</a>
4040
</div>
4141
</div>
42-
{% else %}
43-
<div class="banner inactive-member">
44-
This member is no longer working with the group.
45-
</div>
42+
{% endif %}
43+
{% if page.active != 'yes' %}
44+
<div class="banner inactive-member">
45+
This member is no longer working with the group.
46+
</div>
4647
{% endif %}
4748
{% if page.telephone %}
4849
<div class="row">

0 commit comments

Comments
 (0)