ess{{ else if eq .Status "pending" }}warning{{ else }}secondary{{ end }}">
                                    {{ .Status }}
                                </span>
                            </small>
                        </div>
                        {{ end }}
                        {{ if gt .results.cases.total (len .results.cases.data) }}
                        <div class="text-center mt-3">
                            <a href="/cases?q={{ .query }}" class="btn btn-sm btn-outline-primary">
       