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 1/9] 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}} + From f8be6f805711de28ac43dda7a6c0ae84f229a390 Mon Sep 17 00:00:00 2001 From: loma-one <44441246+loma-one@users.noreply.github.com> Date: Wed, 7 Aug 2024 12:22:39 +0200 Subject: [PATCH 2/9] CSS instructions for formatting in the notification.tpl A space has been inserted between the user icon and the outlined text. Texts are wrapped after 70 characters. --- view/templates/notifications/notification.tpl | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/view/templates/notifications/notification.tpl b/view/templates/notifications/notification.tpl index dcee492baa..5ebf3c2d10 100644 --- a/view/templates/notifications/notification.tpl +++ b/view/templates/notifications/notification.tpl @@ -1,4 +1,29 @@ + +
- {{$notification.text}} {{$notification.ago}} + + + {{$notification.text}} + {{$notification.ago}} +
From e16ee01b4c037074e0a4f38abd13d3abf1d09690 Mon Sep 17 00:00:00 2001 From: loma-one <44441246+loma-one@users.noreply.github.com> Date: Wed, 7 Aug 2024 12:27:24 +0200 Subject: [PATCH 3/9] Revert "CSS instructions for formatting in the notification.tpl" --- view/templates/notifications/notification.tpl | 27 +------------------ 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/view/templates/notifications/notification.tpl b/view/templates/notifications/notification.tpl index 5ebf3c2d10..dcee492baa 100644 --- a/view/templates/notifications/notification.tpl +++ b/view/templates/notifications/notification.tpl @@ -1,29 +1,4 @@ - -
- - - {{$notification.text}} - {{$notification.ago}} - + {{$notification.text}} {{$notification.ago}}
From 2083fca7536c60310a20e73b0cc072a2cf07621a Mon Sep 17 00:00:00 2001 From: loma-one <44441246+loma-one@users.noreply.github.com> Date: Wed, 7 Aug 2024 12:43:00 +0200 Subject: [PATCH 4/9] CSS instructions for formatting in the notification.tpl A space has been inserted between the user icon and the outlined text. Texts are wrapped after 70 characters. --- view/templates/notifications/notification.tpl | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/view/templates/notifications/notification.tpl b/view/templates/notifications/notification.tpl index dcee492baa..5ebf3c2d10 100644 --- a/view/templates/notifications/notification.tpl +++ b/view/templates/notifications/notification.tpl @@ -1,4 +1,29 @@ + +
- {{$notification.text}} {{$notification.ago}} + + + {{$notification.text}} + {{$notification.ago}} +
From 5e2687e7ea0a6c050d79a7eee5c53535ef97b1f3 Mon Sep 17 00:00:00 2001 From: loma-one <44441246+loma-one@users.noreply.github.com> Date: Wed, 7 Aug 2024 13:28:47 +0200 Subject: [PATCH 5/9] css instructions notification.tpl global.css --- view/global.css | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/view/global.css b/view/global.css index 1dfbf18920..461ccca08a 100644 --- a/view/global.css +++ b/view/global.css @@ -788,4 +788,22 @@ summary.wall-item-summary { font-weight: bold; font-style: oblique; padding-bottom: 5px; -} \ No newline at end of file +} + +/* css instructions notification.tpl */ +/* Flexbox layout to align the icon and text in a single line */ +.notif-item a { + display: flex; + align-items: flex-start; +} + +/* Margin to create space between the icon and the text */ +.notif-image { + margin-right: 10px; + +/* Styles to ensure the text wraps properly after 70 characters */ +.notif-text { + display: inline-block; + max-width: 70ch; + overflow-wrap: break-word; +} From 5cc3b1f2f5f636fae23954cf91597c748ced6ecc Mon Sep 17 00:00:00 2001 From: loma-one <44441246+loma-one@users.noreply.github.com> Date: Wed, 7 Aug 2024 13:57:13 +0200 Subject: [PATCH 6/9] Template and css separated --- view/templates/notifications/notification.tpl | 22 +------------------ 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/view/templates/notifications/notification.tpl b/view/templates/notifications/notification.tpl index 5ebf3c2d10..edd57ae0e0 100644 --- a/view/templates/notifications/notification.tpl +++ b/view/templates/notifications/notification.tpl @@ -1,28 +1,8 @@ - -
+ {{$notification.text}} {{$notification.ago}} From 14fa0528cd3def810a6b1ff97611d8a9e460a276 Mon Sep 17 00:00:00 2001 From: loma-one <44441246+loma-one@users.noreply.github.com> Date: Wed, 7 Aug 2024 14:26:09 +0200 Subject: [PATCH 7/9] Correction tab global.css --- view/global.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/view/global.css b/view/global.css index 461ccca08a..361a73585e 100644 --- a/view/global.css +++ b/view/global.css @@ -793,17 +793,17 @@ summary.wall-item-summary { /* css instructions notification.tpl */ /* Flexbox layout to align the icon and text in a single line */ .notif-item a { - display: flex; - align-items: flex-start; + display: flex; + align-items: flex-start; } /* Margin to create space between the icon and the text */ .notif-image { - margin-right: 10px; + margin-right: 10px; /* Styles to ensure the text wraps properly after 70 characters */ .notif-text { - display: inline-block; - max-width: 70ch; - overflow-wrap: break-word; + display: inline-block; + max-width: 70ch; + overflow-wrap: break-word; } From 4f877ad6b6aaa9892a1aa32bf46119d5ca3ac0b7 Mon Sep 17 00:00:00 2001 From: loma-one <44441246+loma-one@users.noreply.github.com> Date: Thu, 8 Aug 2024 06:09:41 +0200 Subject: [PATCH 8/9] Comments in English trending_tags.tpl --- view/templates/widget/trending_tags.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/view/templates/widget/trending_tags.tpl b/view/templates/widget/trending_tags.tpl index 428646071d..5cf83e6d2e 100644 --- a/view/templates/widget/trending_tags.tpl +++ b/view/templates/widget/trending_tags.tpl @@ -40,7 +40,7 @@