From 80b60ae4ffbe1697a62368124020ae44b7e5c7a9 Mon Sep 17 00:00:00 2001 From: rabuzarus Date: Wed, 6 Feb 2019 17:08:13 +0100 Subject: [PATCH] Bugfix: remove useless for categories from wall_thread template --- view/theme/frio/css/style.css | 4 ++++ view/theme/frio/templates/search_item.tpl | 4 ++-- view/theme/frio/templates/wall_thread.tpl | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index b293a3f48a..d45d7c47a9 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -1819,6 +1819,10 @@ code > .hl-main { .wall-item-bottom .label a { color: #fff; } +.wall-item-tags .category, +.wall-item-tags .folder { + margin-right: 3px; +} /* item social action buttons */ .wall-item-actions { diff --git a/view/theme/frio/templates/search_item.tpl b/view/theme/frio/templates/search_item.tpl index b668229e8a..c6f90ac05d 100644 --- a/view/theme/frio/templates/search_item.tpl +++ b/view/theme/frio/templates/search_item.tpl @@ -150,11 +150,11 @@ {{/if}} {{foreach $item.folders as $cat}} - {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} + {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} {{/foreach}} {{foreach $item.categories as $cat}} - {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} + {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} {{/foreach}} {{if $item.edited}}
{{$item.edited['label']}} ({{$item.edited['relative']}})
{{/if}} diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index 12e419f8a5..c149b58a51 100644 --- a/view/theme/frio/templates/wall_thread.tpl +++ b/view/theme/frio/templates/wall_thread.tpl @@ -293,11 +293,11 @@ as the value of $top_child_total (this is done at the end of this file) {{/if}} {{foreach $item.folders as $cat}} - {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} + {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} {{/foreach}} {{foreach $item.categories as $cat}} - {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} + {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} {{/foreach}} {{if $item.edited}}
{{$item.edited['label']}} ({{$item.edited['relative']}})
{{/if}}