]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/search_item.tpl
New function for contact suggestions
[friendica.git] / view / theme / frio / templates / search_item.tpl
index e48a12b50b0997f9b28b06d8118548c6b730cf6c..d7a22927ccdd78be9450a4b4e0f71bb064093a14 100644 (file)
@@ -96,7 +96,7 @@
                                <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>
                                {{/if}}
 
-                               <div class="wall-item-body" id="wall-item-body-{{$item.id}}">{{$item.body nofilter}}</div>
+                               <div class="wall-item-body" id="wall-item-body-{{$item.id}}">{{$item.body_html nofilter}}</div>
                        </div>
 
                        <!-- TODO -->
                        <p class="wall-item-actions">
                                {{* Action buttons to interact with the item (like: like, dislike, share and so on *}}
                                <span class="wall-item-actions-left">
-                                       <!--comment this out to try something different {{if $item.threaded}}{{if $item.comment}}
+                                       <!--comment this out to try something different {{if $item.threaded}}{{if $item.comment_html}}
                                        <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>
                                        </div>
                                                {{if $item.vote.dislike}}
                                        <button type="button" class="btn btn-defaultbutton-likes{{if $item.responses.like.self}} active" aria-pressed="true{{/if}}" id="dislike-{{$item.id}}" title="{{$item.vote.dislike.0}}" onclick="doLikeAction({{$item.id}}, 'dislike'{{if $item.responses.dislike.self}}, true{{/if}});">{{$item.vote.dislike.0}}</button>
                                                {{/if}}
-                                               {{if ($item.vote.like OR $item.vote.dislike) AND $item.comment}}
+                                               {{if ($item.vote.like OR $item.vote.dislike) AND $item.comment_html}}
                                        <span role="presentation" class="separator">•</span>
                                                {{/if}}
                                        {{/if}}
 
                                        {{* Button to open the comment text field *}}
-                                       {{if $item.comment}}
+                                       {{if $item.comment_html}}
                                                <button type="button" class="btn btn-default" id="comment-{{$item.id}}" title="{{$item.switchcomment}}" onclick="openClose('item-comments-{{$item.id}}'); commentExpand({{$item.id}});">{{$item.switchcomment}}</button>
                                        {{/if}}
 
                                        {{* Button for sharing the item *}}
                                        {{if $item.vote}}
                                                {{if $item.vote.share}}
-                                                       {{if $item.vote.like OR $item.vote.dislike OR $item.comment}}
+                                                       {{if $item.vote.like OR $item.vote.dislike OR $item.comment_html}}
                                        <span role="presentation" class="separator">•</span>
                                                        {{/if}}
                                        <button type="button" class="btn btn-default" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}});"><i class="fa fa-retweet" aria-hidden="true"></i>&nbsp;{{$item.vote.share.0}}</button>