]> git.mxchange.org Git - friendica.git/commitdiff
Regrouped wall-items and readded hidden-xs attribute for mobile view
authorRaroun <admin@opensocial.space>
Fri, 3 Nov 2023 10:02:35 +0000 (11:02 +0100)
committerRaroun <admin@opensocial.space>
Fri, 3 Nov 2023 10:02:35 +0000 (11:02 +0100)
view/theme/frio/templates/wall_thread.tpl

index b439c8807887848a2f6e6e9769e70ec80f59d66f..7e3c553be9ce0ffa08b6b9b78f14df24aa0b0106 100644 (file)
@@ -303,8 +303,10 @@ as the value of $top_child_total (this is done at the end of this file)
                <!-- <hr /> -->
                <div class="wall-item-actions">
                        {{* Action buttons to interact with the item (like: like, dislike, share and so on *}}
-
                        {{* Buttons for like and dislike *}}
+                       <div class="wall-item-actions-items btn-toolbar btn-group hidden-xs" role="group">
+                       <div class="wall-item-actions-row">
+
                        {{if $item.vote}}
                                {{if $item.vote.like}}
                                <button type="button" class="btn-link button-likes{{if $item.responses.like.self}} active" aria-pressed="true{{/if}}" id="like-{{$item.id}}" title="{{$item.vote.like.0}}" onclick="doActivityItemAction({{$item.id}}, 'like'{{if $item.responses.like.self}}, true{{/if}});" ><i class="fa fa-thumbs-up" aria-hidden="true"></i></button>
@@ -446,8 +448,8 @@ as the value of $top_child_total (this is done at the end of this file)
                                         </li>
                                         {{/if}}
                                     </ul>
-                        </span>
-
+                        </div>
+                       </div>
                        <span class="wall-item-actions-right hidden-xs">
                                {{* Event attendance buttons *}}
                        {{if $item.isevent}}
@@ -457,7 +459,6 @@ as the value of $top_child_total (this is done at the end of this file)
                                        <button type="button" class="btn btn-xs btn-default button-event{{if $item.responses.attendmaybe.self}} active" aria-pressed="true{{/if}}" id="attendmaybe-{{$item.id}}" title="{{$item.attend.2}}" onclick="doActivityItemAction({{$item.id}}, 'attendmaybe'{{if $item.responses.attendmaybe.self}}, true{{/if}});"><i class="fa fa-question" aria-hidden="true"><span class="sr-only">{{$item.attend.2}}</span></i></button>
                                </span>
                        {{/if}}
-
                                <span class="pull-right checkbox">
                        {{if $item.drop && $item.drop.pagedrop}}
                                        <input type="checkbox" title="{{$item.drop.select}}" name="itemselected[]" id="checkbox-{{$item.id}}" class="item-select" value="{{$item.id}}" />