From d621eb07c008ce897212802d23184fdbfadd3481 Mon Sep 17 00:00:00 2001 From: Amy Gale Ruth Bowersox Date: Fri, 30 Jan 2026 22:58:11 -0700 Subject: [PATCH] have the structure of results to return with Find Posts --- ui/views/find.jet | 256 +++++++++++++++++++++++++++++----------------- 1 file changed, 160 insertions(+), 96 deletions(-) diff --git a/ui/views/find.jet b/ui/views/find.jet index a6e8000..e95e33d 100644 --- a/ui/views/find.jet +++ b/ui/views/find.jet @@ -201,109 +201,173 @@
{{ resultHeader }}
{{ if isset(resultList) }} - -
-
- {{ range _, rx := resultList }} - {{ if mode == "COM" }} - -
- 🟣 -
- -
-
- Host: - {{ h := CommunityHost(rx, .) }} - {{ h.Username }} - - - {{ n := DisplayMemberCount(rx, .) }} - {{ if n == 1 }} - 1 member - {{ else }} - {{ n }} members - {{ end }} -
-
- Latest activity: {{ DisplayActivity(rx.LastAccess, .)}} -
-
{{ rx.Synopsis }}
-
-
-
- {{ else if mode == "USR" }} - -
- 🟣 -
- -
-
- {{ ci := UserContactInfo(rx, .) }} - {{ DisplayFullName(ci) }}, from {{ ci.Locality }}, {{ ci.Region }} {{ ci.Country }} -
-
-
-
- {{ else if mode == "CAT" }} - - - {{ else if mode == "PST" }} - TODO: I don't know PST yet - {{ end }} - {{ end }} + {{ if mode == "PST" }} +
+
+ + + + + + + + + + + + {{ range _, rx := resultList }} + + + + + + + + {{ end }} + +
Post LinkAuthorPost DateLinesPreview
+ minds!Playground.2.880 + + Beenherebefo + + Jan 1, 2002 10:57:06 PM + + 12 + + Bold, the truth is that one entity can incorporate in only... +
+
- {{ if isset(resultShowPrev) || isset(resultShowNext) }} -
- {{ if isset(resultFromDirectory) }} + + {{ if isset(resultShowPrev) || isset(resuiltShowNext) }} + +
+
+ + + + + {{ if isset(resultShowPrev) }} - - ⏪ Prev - + {{ end }} {{ if isset(resultShowNext) }} - - Next ⏩ - + {{ end }} - {{ else }} - - - - - - - {{ if isset(resultShowPrev) }} - - {{ end }} - {{ if isset(resultShowNext) }} - - {{ end }} -
- {{ end }} +
{{ end }} -
+ {{ else }} + +
+
+ {{ range _, rx := resultList }} + {{ if mode == "COM" }} + +
+ 🟣 +
+ +
+
+ Host: + {{ h := CommunityHost(rx, .) }} + {{ h.Username }} + - + {{ n := DisplayMemberCount(rx, .) }} + {{ if n == 1 }} + 1 member + {{ else }} + {{ n }} members + {{ end }} +
+
+ Latest activity: {{ DisplayActivity(rx.LastAccess, .)}} +
+
{{ rx.Synopsis }}
+
+
+
+ {{ else if mode == "USR" }} + +
+ 🟣 +
+ +
+
+ {{ ci := UserContactInfo(rx, .) }} + {{ DisplayFullName(ci) }}, from {{ ci.Locality }}, {{ ci.Region }} {{ ci.Country }} +
+
+
+
+ {{ else if mode == "CAT" }} + + + {{ end }} + {{ end }} +
+ {{ if isset(resultShowPrev) || isset(resultShowNext) }} +
+ {{ if isset(resultFromDirectory) }} + {{ if isset(resultShowPrev) }} + + ⏪ Prev + + {{ end }} + {{ if isset(resultShowNext) }} + + Next ⏩ + + {{ end }} + {{ else }} +
+ + + + + + {{ if isset(resultShowPrev) }} + + {{ end }} + {{ if isset(resultShowNext) }} + + {{ end }} +
+ {{ end }} +
+ {{ end }} +
+ {{ end }} {{ end }} {{ end }}