-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsearch-results.html
49 lines (31 loc) · 1.22 KB
/
search-results.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{% extends path+"/_layout-caselist.html" %}
{% block horizontal_secondary_nav %}
{{ secondaryNav.nav("", false, menuItems ) }}
{% endblock %}
{% block caselist_content %}
{% if customers.length > 0 %}
<h1 class="heading-medium mt0"><span class="heading-xlarge">{{customers.length}}</span><br/>Search result</h1>
<table class="zebra">
<thead>
<tr>
<th>Details</th>
<th>Status</th>
</tr>
</thead>
{% for customer in customers %}
<tr>
<td><a href="scrutiny/{{customer._id}}/timeline"><span class="visually-hidden">Name</span>{{customer.name.fullName}} </a><span class="text-secondary block"><span class="visually-hidden">Nino</span>{{customer.NINO}}</span>
</td>
<td> <span class="block">
{{ 'Requested medical evidence' if customer.status == 'fme'}}
{{ 'Ready for review' if customer.status == 'review'}}</span></span>
</td>
</tr>
{% endfor %}
{% else %}
<h2 class="heading-medium mt0"><span class="heading-xlarge">0</span><br/>Search results</h2>
<hr class="mt0"/>
<p class="lede"> No results found for "{{searchField}}". Please try again.</p>
{% endif %}
</table>
{% endblock %}