Skip to content

Commit 75e501a

Browse files
committed
Display clarifications when queue has been removed
1 parent 0cf9afb commit 75e501a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

webapp/templates/jury/export/clarifications.html.twig

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@
4545
<div class="page-break"></div>
4646
<h1>{{ title }}</h1>
4747
{% endif %}
48-
<h2>{{ queues[queue] }}</h2>
48+
{% if queues[queue] is defined %}
49+
<h2>{{ queues[queue] }}</h2>
50+
{% else %}
51+
<h2><i>Unknown queue: {{ queue }}</h2>
52+
{% endif %}
4953
<table class="table">
5054
<thead>
5155
<tr>

0 commit comments

Comments
 (0)