Regrouped wall-items and readded hidden-xs attribute for mobile view

This commit is contained in:
Raroun 2023-11-03 11:02:35 +01:00
parent c98fcaeebb
commit 38ff790bef
1 changed files with 5 additions and 4 deletions

View 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}}" />