diff --git a/view/theme/frio/templates/search_item.tpl b/view/theme/frio/templates/search_item.tpl index 1f2b761703..9722a6e1d4 100644 --- a/view/theme/frio/templates/search_item.tpl +++ b/view/theme/frio/templates/search_item.tpl @@ -169,29 +169,34 @@ {{* Buttons for like and dislike *}} {{if $item.vote}} -
+ {{if $item.vote.like}} {{$item.vote.like.0}} + {{/if}} + + {{if $item.vote.like AND $item.vote.dislike}} +  •  + {{/if}} {{if $item.vote.dislike}} -  •  {{$item.vote.dislike.0}} {{/if}} - {{if $item.comment}} • {{/if}} -
+ {{if ($item.vote.like OR $item.vote.dislike) AND $item.comment}} +  •  + {{/if}} {{/if}} {{* Butten to open the comment text field *}} {{if $item.comment}} -
- {{$item.switchcomment}} -
+ {{$item.switchcomment}} {{/if}} {{* Button for sharing the item *}} {{if $item.vote}} - {{if $item.vote.share}} + {{if ($item.vote.like OR $item.vote.dislike OR $item.comment) AND $item.vote.share}}  •  + {{/if}} + {{if $item.vote.share}}  {{$item.vote.share.0}} {{/if}} {{/if}} diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index ceef9230d1..b2e10a10a1 100644 --- a/view/theme/frio/templates/wall_thread.tpl +++ b/view/theme/frio/templates/wall_thread.tpl @@ -284,7 +284,6 @@ as the value of $top_child_total (this is done at the end of this file) {{* Buttons for like and dislike *}} {{if $item.vote}} -
{{if $item.vote.like}}  {{$item.vote.like.1}} {{/if}} @@ -300,14 +299,11 @@ as the value of $top_child_total (this is done at the end of this file) {{if ($item.vote.like OR $item.vote.dislike) AND $item.comment}}  •  {{/if}} -
{{/if}} {{* Butten to open the comment text field *}} {{if $item.comment}} -
-  {{$item.switchcomment}} -
+  {{$item.switchcomment}} {{/if}} {{* Button for sharing the item *}}