]> git.mxchange.org Git - friendica.git/commitdiff
Fix wrong variable reference in view wall_thread template
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 26 Dec 2022 14:26:57 +0000 (09:26 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 26 Dec 2022 14:26:57 +0000 (09:26 -0500)
- Address https://github.com/friendica/friendica/issues/12488#issuecomment-1364715116

view/theme/vier/templates/wall_thread.tpl

index 7d851d0015a53e080d2896db1c47a2a1ac3d9dee..a9ec4c90ad0a2f17b7d6f9b2a61d75243739eaca 100644 (file)
                                {{/if}}{{if $item.vote.dislike}}
                                <a role="button" id="dislike-{{$item.id}}"{{if $item.responses.dislike.self}} class="active"{{/if}} title="{{$item.vote.dislike.0}}" onclick="doActivityItem({{$item.id}}, 'dislike'{{if $item.responses.dislike.self}}, true{{/if}}); return false"><i class="icon-thumbs-down icon-large"><span class="sr-only">{{$item.vote.dislike.0}}</span></i></a>
                                {{/if}}{{if $item.vote.announce}}
-                               <a role="button" id="announce-{{$item.id}}"{{if $item.responses.announce.self}} class="active"{{/if}} title="{{$item.vote.announce.0}}" onclick="doActivityItem({{$item.id}}, 'announce'{{if $item.responses.announce.self}}, true{{/if}}); return false"><i class="icon-retweet icon-large"><span class="sr-only">{{$item.vote.dislike.0}}</span></i></a>
+                               <a role="button" id="announce-{{$item.id}}"{{if $item.responses.announce.self}} class="active"{{/if}} title="{{$item.vote.announce.0}}" onclick="doActivityItem({{$item.id}}, 'announce'{{if $item.responses.announce.self}}, true{{/if}}); return false"><i class="icon-retweet icon-large"><span class="sr-only">{{$item.vote.announce.0}}</span></i></a>
                                {{/if}}
                            {{if $item.vote.share}}
                                    <a role="button" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"><i class="icon-share icon-large"><span class="sr-only">{{$item.vote.share.0}}</span></i></a>