From 408aed03d3454330120475ca53838a2f4fe28ea3 Mon Sep 17 00:00:00 2001
From: Alan Pearce
Date: Sat, 8 Jun 2024 20:34:37 +0200
Subject: feat: display results in a table, showing details on click
---
frontend/templates/blocks/results.gotmpl | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)
(limited to 'frontend/templates/blocks/results.gotmpl')
diff --git a/frontend/templates/blocks/results.gotmpl b/frontend/templates/blocks/results.gotmpl
index c375156..ef6e1f1 100644
--- a/frontend/templates/blocks/results.gotmpl
+++ b/frontend/templates/blocks/results.gotmpl
@@ -1,21 +1,19 @@
{{- define "results" }}
{{- with .Results }}
{{- if gt .Total 0 }}
-
- {{ block "hits" .Hits }}
- {{ end }}
-
-
+ {{ block "hits" .Hits }}
+ {{ end }}
+
{{- else }}
Nothing found
{{- end }}
--
cgit 1.4.1