Skip to content

Commit bbbfe3b

Browse files
Add empty state
1 parent 718d677 commit bbbfe3b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app/views/regions/awaiting-approval.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h1 class="nhsuk-heading-l">Awaiting approval</h1>
2626
<div class="nhsuk-grid-row">
2727
<div class="nhsuk-grid-column-full">
2828

29-
29+
{% if (organisations | length) > 0 %}
3030

3131
<table role="table" class="nhsuk-table-responsive">
3232
<thead role="rowgroup" class="nhsuk-table__head">
@@ -79,6 +79,11 @@ <h1 class="nhsuk-heading-l">Awaiting approval</h1>
7979
</tbody>
8080
</table>
8181

82+
{% else %}
83+
84+
<p>There are no organisations awaiting approval.</p>
85+
{% endif %}
86+
8287
</div>
8388
</div>
8489

0 commit comments

Comments
 (0)