X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftemplates%2Fsearch_item.tpl;h=90fbe03bbcac66305d366835959099455377272b;hb=d489ba1510a2dcfaa7851d937d3c37a9541544c9;hp=1f2b761703907977e6d112b0463cb6bdda802004;hpb=7beb5795b61ec0494311d4ab861574108db15aa9;p=friendica.git diff --git a/view/theme/frio/templates/search_item.tpl b/view/theme/frio/templates/search_item.tpl index 1f2b761703..90fbe03bbc 100644 --- a/view/theme/frio/templates/search_item.tpl +++ b/view/theme/frio/templates/search_item.tpl @@ -7,7 +7,7 @@ -
+
{{* Put additional actions in a top-right dropdown menu *}} @@ -169,29 +169,34 @@ {{* Buttons for like and dislike *}} {{if $item.vote}} -
- {{$item.vote.like.0}} + {{if $item.vote.like}} + {{$item.vote.like.0}} + {{/if}} - {{if $item.vote.dislike}} + {{if $item.vote.like AND $item.vote.dislike}}  â€¢  - {{$item.vote.dislike.0}} {{/if}} - {{if $item.comment}} â€¢ {{/if}} -
+ {{if $item.vote.dislike}} + {{$item.vote.dislike.0}} + {{/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}} {{/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}} @@ -202,9 +207,9 @@ {{* Event attendance buttons *}} {{if $item.isevent}} {{/if}}