]> git.mxchange.org Git - friendica.git/commitdiff
[frio] Move "Share via" to the share dropdown
authorDamian Wajer <damian@damianwajer.com>
Wed, 1 Mar 2023 17:09:18 +0000 (18:09 +0100)
committerDamian Wajer <damian@damianwajer.com>
Wed, 1 Mar 2023 17:09:18 +0000 (18:09 +0100)
view/theme/frio/templates/wall_thread.tpl

index c1a8555cf37f34ce1295c3a4dee099334d565511..5fda4d2bca9cdc9fbd233615a86cad0e81fefe53 100644 (file)
@@ -479,14 +479,17 @@ as the value of $top_child_total (this is done at the end of this file)
                                                                        </a>
                                                                </li>
                                                                {{/if}}
+                                                               {{if $item.browsershare}}
+                                                               <li role="menuitem">
+                                                                       <button type="button" class="btn-link button-browser-share" onclick="navigator.share({url: '{{$item.plink.orig}}'})" title="{{$item.browsershare.1}}">
+                                                                               <i class="fa fa-share-alt" aria-hidden="true"></i> {{$item.browsershare.0}}
+                                                                       </button>
+                                                               </li>
+                                                               {{/if}}
                                                        </ul>
                                                </div>
                                        {{/if}}
 
-                                       {{if $item.browsershare}}
-                                               <button type="button" class="btn button-browser-share" onclick="navigator.share({url: '{{$item.plink.orig}}'})" title="{{$item.browsershare.1}}"><i class="fa fa-share-alt"></i></button>
-                                       {{/if}}
-
                                        {{* Put additional actions in a dropdown menu *}}
                                        <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />