]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/search_item.tpl
Merge pull request #4890 from astifter/reorganize_login
[friendica.git] / view / theme / frio / templates / search_item.tpl
index c8c702b6a8195314b5f1ae0ce8e59acba1219a38..3ae36c7822865efb52139406f6556948df39e0e0 100644 (file)
                                <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 -->