]> git.mxchange.org Git - friendica.git/commitdiff
change or to and
authorJakobus Schürz <jakobus.schuerz@schuerz.at>
Thu, 23 Mar 2023 19:12:48 +0000 (20:12 +0100)
committerJakobus Schürz <jakobus.schuerz@schuerz.at>
Thu, 23 Mar 2023 19:20:13 +0000 (20:20 +0100)
view/theme/frio/templates/wall_thread.tpl

index 4e6347fc1e732b74cf2bb491a5dbcfc56840739a..0ddf029945e39d81a55d46fa23fc80e5e7d30de2 100644 (file)
@@ -316,7 +316,7 @@ as the value of $top_child_total (this is done at the end of this file)
                                        {{/if}}
                                {{/if}}
                                {{if $item.vote.announce}}
-                               <button type="button" class="btn-link button-announces{{if $item.responses.announce.self or $item.reshared }} active" aria-pressed="true{{/if}}" id="announce-{{$item.id}}" title="{{$item.vote.announce.0}}" onclick="doActivityItemAction({{$item.id}}, 'announce'{{if $item.responses.announce.self}}, true{{/if}});" ><i class="fa fa-retweet" aria-hidden="true"></i>&nbsp;{{$item.vote.announce.1}}</button>
+                               <button type="button" class="btn-link button-announces{{if $item.responses.announce.self and $item.reshared }} active" aria-pressed="true{{/if}}" id="announce-{{$item.id}}" title="{{$item.vote.announce.0}}" onclick="doActivityItemAction({{$item.id}}, 'announce'{{if $item.responses.announce.self}}, true{{/if}});" ><i class="fa fa-retweet" aria-hidden="true"></i>&nbsp;{{$item.vote.announce.1}}</button>
                                <span role="presentation" class="separator"></span>
                                {{/if}}
                                {{if $item.vote.share}}