Skip to content

Commit ba9f440

Browse files
authored
fix: Say when no IRSG ballots exist (ietf-tools#4788)
Fixes ietf-tools#4749
1 parent 273b2fa commit ba9f440

1 file changed

Lines changed: 22 additions & 18 deletions

File tree

ietf/templates/doc/irsg_ballot_status.html

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,28 @@
1010
{% block content %}
1111
{% origin %}
1212
<h1>IRSG ballot status</h1>
13-
<table class="table table-sm table-striped tablesorter">
14-
<thead>
15-
<tr>
16-
<th scope="col" data-sort="doc">Document</th>
17-
<th scope="col" data-sort="status">Status</th>
18-
</tr>
19-
</thead>
20-
{% if docs %}
21-
<tbody>
22-
{% for doc in docs %}
23-
<tr>
24-
<td>{{ doc.displayname_with_link }}</td>
25-
{% include "doc/search/status_columns.html" %}
26-
</tr>
27-
{% endfor %}
28-
</tbody>
29-
{% endif %}
30-
</table>
13+
{% if docs %}
14+
<table class="table table-sm table-striped tablesorter">
15+
<thead>
16+
<tr>
17+
<th scope="col" data-sort="doc">Document</th>
18+
<th scope="col" data-sort="status">Status</th>
19+
</tr>
20+
</thead>
21+
<tbody>
22+
{% for doc in docs %}
23+
<tr>
24+
<td>{{ doc.displayname_with_link }}</td>
25+
{% include "doc/search/status_columns.html" %}
26+
</tr>
27+
{% endfor %}
28+
</tbody>
29+
</table>
30+
{% else %}
31+
<p class="alert alert-info my-3">
32+
No open IRSG ballots.
33+
</p>
34+
{% endif %}
3135
{% endblock %}
3236
{% block js %}
3337
<script src="{% static "ietf/js/list.js" %}"></script>

0 commit comments

Comments
 (0)