From 7695f08e7b8b72bc5b78d22f857742a1a6b85d43 Mon Sep 17 00:00:00 2001 From: loma-one <44441246+loma-one@users.noreply.github.com> Date: Sun, 4 Aug 2024 12:33:56 +0200 Subject: [PATCH] Usability improvements trending_tags.tpl The tranding tags don't look very nice. The changes are intended to make them more attractive. - For this purpose, each tag is preceded by a "fa fa-hashtag". - The # in front of the word has been removed - Clicking on a hashtag searches with a hashtag as usual. - Other tags were previously displayed indented - Now it is ensured that all hashtags are in one line This is a suggestion that can be discarded at any time. I would still be happy if the changes could be adopted. --- view/templates/widget/trending_tags.tpl | 65 +++++++++++++++++++------ 1 file changed, 51 insertions(+), 14 deletions(-) diff --git a/view/templates/widget/trending_tags.tpl b/view/templates/widget/trending_tags.tpl index 31e22532a0..428646071d 100644 --- a/view/templates/widget/trending_tags.tpl +++ b/view/templates/widget/trending_tags.tpl @@ -5,22 +5,59 @@

{{$title}}

- -{{if $tags|count > 10}} -
- {{$more}} -
-{{/if}} + + {{if $tags|count > 10}} +
+ +
+ + {{/if}} +