X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftemplates%2Fsearch_item.tpl;h=fea94fb508b07b313d4d7ccac390b2945487958b;hb=9237b2611a1112072a5c5955999c557562a07153;hp=51a9017c2b1a15db37f6875e3a84cc79b6cd47ab;hpb=8a0b057dc7dbf26ac78393f06a4413bf0512471d;p=friendica.git diff --git a/view/theme/frio/templates/search_item.tpl b/view/theme/frio/templates/search_item.tpl index 51a9017c2b..fea94fb508 100644 --- a/view/theme/frio/templates/search_item.tpl +++ b/view/theme/frio/templates/search_item.tpl @@ -2,12 +2,11 @@ -
+
{{* Put additional actions in a top-right dropdown menu *}} @@ -170,25 +169,35 @@ {{* Buttons for like and dislike *}} {{if $item.vote}} {{if $item.vote.like}} - + + {{/if}} + {{if $item.vote.like AND $item.vote.dislike}} + • {{/if}} {{if $item.vote.dislike}} - + + {{/if}} + {{if ($item.vote.like OR $item.vote.dislike) AND $item.comment}} + • {{/if}} {{/if}} {{* Button to open the comment text field *}} {{if $item.comment}} - + {{/if}} {{* Button for sharing the item *}} {{if $item.vote}} {{if $item.vote.share}} - + {{if $item.vote.like OR $item.vote.dislike OR $item.comment}} + • + {{/if}} + {{/if}} {{/if}} +
@@ -196,9 +205,9 @@ {{* Event attendance buttons *}} {{if $item.isevent}}
- - - + + +
{{/if}}