]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/search_item.tpl
Merge remote-tracking branch 'upstream/develop' into sanitize-gcontact
[friendica.git] / view / theme / frio / templates / search_item.tpl
index c6f90ac05d63dce6d584201d1dfb38f1e1af5c85..7f3c0936d1e2fc9baa786ef8b967bce1ce364b1c 100644 (file)
                        {{* Put additional actions in a top-right dropdown menu *}}
 
                        <ul class="nav nav-pills preferences">
+                               {{if $item.network_icon != ""}}
+                               <li><span class="wall-item-network"><i class="fa fa-{{$item.network_icon}}" title="{{$item.network_name}}" aria-hidden="true"></i></span></li>
+                               {{else}}
                                <li><span class="wall-item-network" title="{{$item.app}}">{{$item.network_name}}</span></li>
+                               {{/if}}
 
                                {{if $item.plink || $item.star || $item.drop.dropping || $item.edpost || $item.subthread}}
                                <li class="dropdown">
                        </div>
                        <!-- ./TODO -->
 
-                       <div class="wall-item-actions">
+                       <p class="wall-item-actions">
                                {{* Action buttons to interact with the item (like: like, dislike, share and so on *}}
-                               <div class="wall-item-actions-left pull-left">
+                               <span class="wall-item-actions-left">
                                        <!--comment this out to try something different {{if $item.threaded}}{{if $item.comment}}
                                        <div id="button-reply" class="pull-left">
                                                <button type="button" class="btn-link" id="comment-{{$item.id}}" onclick="openClose('item-comments-{{$item.id}}'); commentExpand({{$item.id}});"><i class="fa fa-reply" title="{{$item.switchcomment}}"></i> </span>
                                                {{/if}}
                                        {{/if}}
                                        <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
-                               </div>
+                               </span>
 
 
-                               <div class="wall-item-actions-right pull-right">
+                               <span class="wall-item-actions-right">
                                        {{* Event attendance buttons *}}
-                                       {{if $item.isevent}}
-                                       <div class="vote-event">
+                               {{if $item.isevent}}
+                                       <span class="vote-event">
                                                <button type="button" class="btn btn-defaultbutton-event{{if $item.responses.attendyes.self}} active" aria-pressed="true{{/if}}" id="attendyes-{{$item.id}}" title="{{$item.attend.0}}" onclick="doLikeAction({{$item.id}}, 'attendyes');"><i class="fa fa-check" aria-hidden="true"><span class="sr-only">{{$item.attend.0}}</span></i></button>
                                                <button type="button" class="btn btn-defaultbutton-event{{if $item.responses.attendno.self}} active" aria-pressed="true{{/if}}" id="attendno-{{$item.id}}" title="{{$item.attend.1}}" onclick="doLikeAction({{$item.id}}, 'attendno');"><i class="fa fa-times" aria-hidden="true"><span class="sr-only">{{$item.attend.1}}</span></i></button>
                                                <button type="button" class="btn btn-defaultbutton-event{{if $item.responses.attendmaybe.self}} active" aria-pressed="true{{/if}}" id="attendmaybe-{{$item.id}}" title="{{$item.attend.2}}" onclick="doLikeAction({{$item.id}}, 'attendmaybe');"><i class="fa fa-question" aria-hidden="true"><span class="sr-only">{{$item.attend.2}}</span></i></button>
-                                       </div>
-                                       {{/if}}
+                                       </span>
+                               {{/if}}
 
-                                       <div class="pull-right checkbox">
-                                               {{if $item.drop.pagedrop}}
+                                       <span class="pull-right checkbox">
+                               {{if $item.drop.pagedrop}}
                                                <input type="checkbox" title="{{$item.drop.select}}" name="itemselected[]" id="checkbox-{{$item.id}}" class="item-select" value="{{$item.id}}" />
                                                <label for="checkbox-{{$item.id}}"></label>
-                                               {{/if}}
-                                       </div>
-                               </div>
-                               <div class="clearfix"></div>
-                       </div><!--./wall-item-actions-->
+                               {{/if}}
+                                       </span>
+                               </span>
+                       </p><!--./wall-item-actions-->
 
                                        {{* Display likes, dislike and attendance stats *}}
                        {{if $item.responses}}