From c080567c8ed2d2e13e277e2689db56e5fb6ef974 Mon Sep 17 00:00:00 2001 From: Chantal Trutmann <79152553+BreathingFlesh@users.noreply.github.com> Date: Mon, 6 Jan 2025 09:02:53 +0100 Subject: [PATCH] Town 6: Search View TYPE: Feature LINK: OGC-1966 --- src/onegov/town6/templates/macros.pt | 77 ++++++++++++++--------- src/onegov/town6/theme/styles/search.scss | 4 ++ 2 files changed, 52 insertions(+), 29 deletions(-) diff --git a/src/onegov/town6/templates/macros.pt b/src/onegov/town6/templates/macros.pt index 534836cbc5..bcb07caa68 100644 --- a/src/onegov/town6/templates/macros.pt +++ b/src/onegov/town6/templates/macros.pt @@ -1796,17 +1796,23 @@ - ${result.title} - + +
${result.title}
+
+

+ ${translate(result.role.capitalize())} +

- ${result.name} - +

+
- ${result.number} - + +
+ ${result.number} + +
+
+ +

+ ${translate(result.group)}
+
+ +

+
- ${result.title} - + @@ -1876,8 +1895,8 @@
${result.title}
-

${result.function}

-

People

+

${result.function}

+

People

@@ -1886,7 +1905,7 @@ ${result.title} -

+

${result.lead[:160]}

@@ -1899,7 +1918,7 @@
${result.title}
-

+

${result.lead[:160]}

diff --git a/src/onegov/town6/theme/styles/search.scss b/src/onegov/town6/theme/styles/search.scss index dc22f54a3c..215f680b37 100644 --- a/src/onegov/town6/theme/styles/search.scss +++ b/src/onegov/town6/theme/styles/search.scss @@ -141,3 +141,7 @@ font-size: .8rem; padding: 0 3px; } + +.search-preview { + color: $jumbo; +} \ No newline at end of file