From c97eb8bf6b7589eebea85c6df159a43b74e3e287 Mon Sep 17 00:00:00 2001 From: Jorge Solorzano Date: Tue, 5 Jun 2018 00:39:31 -0600 Subject: [PATCH] Improve style of list search results using Bootstrap Card --- templates/search/listsearch.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/templates/search/listsearch.html b/templates/search/listsearch.html index 7c7ead8..df4dfad 100644 --- a/templates/search/listsearch.html +++ b/templates/search/listsearch.html @@ -53,11 +53,14 @@

Results {{firsthit}}-{{lasthit}} of {%if hitcount == 1000%}more than 1000{%else%}{{hitcount}}{%endif%}.

{%if pagelinks %}Result pages: {{pagelinks|safe}}

{%endif%} {%for hit in hits %} - {{forloop.counter0|add:firsthit}}. {{hit.subject}} [{{hit.rank|floatformat:2}}]
- From {{hit.author}} on {{hit.date}}.
- {{hit.abstract|safe}}
- https://www.postgresql.org/message-id/{{hit.messageid}}
-
+
+
+
{{forloop.counter0|add:firsthit}}. {{hit.subject}} [{{hit.rank|floatformat:2}}]
+
From {{hit.author|escape}} on {{hit.date}}
+

{{hit.abstract|escape}}

+ https://www.postgresql.org/message-id/{{hit.messageid}} +
+
{%endfor%} {%if pagelinks %}Result pages: {{pagelinks|safe}}

{%endif%} {%endif%} -- 2.17.0