]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/search_item.tpl
Fix review points
[friendica.git] / view / theme / frio / templates / search_item.tpl
index bcd957396b4f0471c3c2e254509c46c91f32b708..344e73f1d913d6ca432d3724db65a7f8941faf80 100644 (file)
@@ -11,7 +11,7 @@
        <span class="received" style="display: none;">{{$item.received}}</span>
        <span class="created" style="display: none;">{{$item.created_date}}</span>
        <span class="uriid" style="display: none;">{{$item.uriid}}</span>
-       <div class="wall-item-container panel-body{{$item.indent}} {{$item.shiny}} {{$item.previewing}}" >
+       <div class="wall-item-container panel-body{{$item.indent}} {{$item.shiny}} {{$item.previewing}}">
                <div class="media">
                        {{* Put additional actions in a top-right dropdown menu *}}
 
                        {{* item content *}}
                        <div class="wall-item-content {{$item.type}}" id="wall-item-content-{{$item.id}}">
                                {{if $item.title}}
-                               <span class="wall-item-title" id="wall-item-title-{{$item.id}}"><h4 class="media-heading"><a href="{{$item.plink.href}}" class="{{$item.sparkle}}">{{$item.title}}</a></h4><br /></span>
+                               <span class="wall-item-title" id="wall-item-title-{{$item.id}}"><h4 class="media-heading" dir="auto"><a href="{{$item.plink.href}}" class="{{$item.sparkle}}">{{$item.title}}</a></h4><br /></span>
                                {{/if}}
 
-                               <div class="wall-item-body" id="wall-item-body-{{$item.id}}">{{$item.body_html nofilter}}</div>
+                               <div class="wall-item-body" id="wall-item-body-{{$item.id}}" dir="auto">{{$item.body_html nofilter}}</div>
                        </div>
 
                        <!-- TODO -->
 
 
                                {{* Put additional actions in a dropdown menu *}}
-                               {{if $item.edpost || $item.tagger || $item.filer || $item.pin || $item.star || $item.subthread || $item.ignore || $item.drop.dropping}}
+                               {{if $item.edpost || $item.tagger || $item.filer || $item.pin || $item.star || $item.follow_thread || $item.ignore || $item.drop.dropping}}
                                        <span role="presentation" class="separator"></span>
-                                       <span class="more-links btn-group{{if $item.thread_level > 1}} dropup{{/if}}">
+                                       <span class="more-links btn-group{{if $item.thread_level> 1}} dropup{{/if}}">
                                                <button type="button" class="btn-link dropdown-toggle" data-toggle="dropdown" id="dropdownMenuOptions-{{$item.id}}" aria-haspopup="true" aria-expanded="false" title="{{$item.menu}}"><i class="fa fa-ellipsis-h" aria-hidden="true"></i>&nbsp;{{$item.menu}}</button>
                                                <ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenuOptions-{{$item.id}}">
                                                {{if $item.edpost}} {{* edit the posting *}}
                                                        </li>
                                                {{/if}}
 
-                                               {{if $item.subthread}}
+                                               {{if $item.follow_thread}}
                                                        <li role="menuitem">
-                                                               <a id="subthread-{{$item.id}}" href="javascript:{{$item.subthread.action}}" class="btn-link" title="{{$item.subthread.title}}"><i class="fa fa-plus" aria-hidden="true"></i>&nbsp;{{$item.subthread.title}}</a>
+                                                               <a id="follow_thread-{{$item.id}}" href="javascript:{{$item.follow_thread.action}}" class="btn-link" title="{{$item.follow_thread.title}}"><i class="fa fa-plus" aria-hidden="true"></i>&nbsp;{{$item.follow_thread.title}}</a>
                                                        </li>
                                                {{/if}}
 
                                                </li>
                                                {{/if}}
 
-                                               {{if ($item.edpost || $item.tagger || $item.filer || $item.pin || $item.star || $item.subthread) && ($item.ignore || $item.drop.dropping)}}
+                                               {{if ($item.edpost || $item.tagger || $item.filer || $item.pin || $item.star || $item.follow_thread) && ($item.ignore || $item.drop.dropping)}}
                                                        <li role="separator" class="divider"></li>
                                                {{/if}}
 
                        </div>
                        {{/if}}
 
-                       <div class="wall-item-conv" id="wall-item-conv-{{$item.id}}" >
+                       <div class="wall-item-conv" id="wall-item-conv-{{$item.id}}" dir="auto">
                        {{if $item.conv}}
                                <a href="{{$item.conv.href}}" id="context-{{$item.id}}" title="{{$item.conv.title}}">{{$item.conv.title}}</a>
                        {{/if}}