]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/search_item.tpl
Merge pull request #5139 from rabuzarus/20180527_-_frio_tos_background
[friendica.git] / view / theme / frio / templates / search_item.tpl
index 0d25bd9b26aabf69f671f568d2ac5f35c82475fd..3ae36c7822865efb52139406f6556948df39e0e0 100644 (file)
 
 
                        {{* item content *}}
-                       <div itemprop="description" class="wall-item-content {{$item.type}}" id="wall-item-content-{{$item.id}}">
+                       <div class="wall-item-content {{$item.type}}" id="wall-item-content-{{$item.id}}">
                                {{* insert some space if it's an top-level post *}}
                                {{if $item.thread_level==1}}
                                <div style="height:10px;">&nbsp;</div> <!-- use padding/margin instead-->
                                <div class="wall-item-links">
                                </div>
                                <div class="wall-item-tags">
-                                       {{foreach $item.hashtags as $tag}}
-                                               <span class="tag label btn-info sm">{{$tag}} <i class="fa fa-bolt" aria-hidden="true"></i></span>
-                                       {{/foreach}}
+                       {{if !$item.suppress_tags}}
+                               {{foreach $item.hashtags as $tag}}
+                                       <span class="tag label btn-info sm">{{$tag}} <i class="fa fa-bolt" aria-hidden="true"></i></span>
+                               {{/foreach}}
 
-                                       {{foreach $item.mentions as $tag}}
-                                               <span class="mention label btn-warning sm">{{$tag}} <i class="fa fa-user" aria-hidden="true"></i></span>
-                                       {{/foreach}}
+                               {{foreach $item.mentions as $tag}}
+                                       <span class="mention label btn-warning sm">{{$tag}} <i class="fa fa-user" aria-hidden="true"></i></span>
+                               {{/foreach}}
+                       {{/if}}
 
-                                       {{foreach $item.folders as $cat}}
-                                               <span class="folder label btn-danger sm">{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
-                                       {{/foreach}}
+                               {{foreach $item.folders as $cat}}
+                                       <span class="folder label btn-danger sm">{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
+                               {{/foreach}}
 
-                                       {{foreach $item.categories as $cat}}
-                                               <span class="category label btn-success sm">{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
-                                       {{/foreach}}
+                               {{foreach $item.categories as $cat}}
+                                       <span class="category label btn-success sm">{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
+                               {{/foreach}}
                                </div>
-                                       {{if $item.edited}}<div class="itemedited text-muted">{{$item.edited['label']}} (<span title="{{$item.edited['date']}}">{{$item.edited['relative']}}</span>)</div>{{/if}}
+                               {{if $item.edited}}<div class="itemedited text-muted">{{$item.edited['label']}} (<span title="{{$item.edited['date']}}">{{$item.edited['relative']}}</span>)</div>{{/if}}
                        </div>
                        <!-- ./TODO -->