From 64a698d255911434ffb51fdff58ab2c9a974f631 Mon Sep 17 00:00:00 2001 From: Eliseu Amaro Date: Thu, 27 Jan 2022 02:17:41 +0000 Subject: [PATCH] [COMPONENTS][Search] Polished search template for a clearer header hierarchy --- .../templates/collection/notes.html.twig | 8 +- .../Search/templates/search/view.html.twig | 196 +++++++++--------- public/assets/default_theme/css/base.css | 5 + .../assets/default_theme/css/pages/feeds.css | 5 - 4 files changed, 111 insertions(+), 103 deletions(-) diff --git a/components/Collection/templates/collection/notes.html.twig b/components/Collection/templates/collection/notes.html.twig index 09c8fdc1b7..f979db1200 100644 --- a/components/Collection/templates/collection/notes.html.twig +++ b/components/Collection/templates/collection/notes.html.twig @@ -19,11 +19,13 @@ {% if page_title is defined %} {% if current_path starts with 'feed_' %}

{{ page_title | trans }}

- {% else %} - {{ page_title | trans }} {% endif %} {% else %} - {{ 'Notes' | trans }} + {% if current_path starts with 'search' %} +

{{ 'Notes found' | trans }}

+ {% else %} + {{ 'Notes' | trans }} + {% endif %} {% endif %}