]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/vier/templates/photo_item.tpl
Merge pull request #6280 from MrPetovan/bug/4738-fix-message-list-query
[friendica.git] / view / theme / vier / templates / photo_item.tpl
index 84783ae303bc272d6ec8bebdb5f097b98ccd18c2..b65f7edd6ed503d1bc90ff40ac50abad1e6263f4 100644 (file)
@@ -8,7 +8,7 @@
                        </div>
                </div>
                <div class="wall-item-actions-author">
-                       <a href="{{$profile_url}}" target="redir" title="{{$linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$sparkle}}">{{$name}}</span></a> 
+                       <a href="{{$profile_url}}" target="redir" title="{{$linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$sparkle}}">{{$name}}</span></a>
                        <span class="wall-item-ago">
                                {{if $plink}}<a class="link" title="{{$plink.title}}" href="{{$plink.href}}" style="color: #999">{{$ago}}</a>{{else}} {{$ago}} {{/if}}
                                {{if $lock}}<span class="fakelink" style="color: #999" onclick="lockview(event,{{$id}});">{{$lock}}</span> {{/if}}
@@ -24,7 +24,7 @@
                </div>
                <div class="wall-item-tags">
                        {{foreach $tags as $tag}}
-                               <span class='tag'>{{$tag}}</span>
+                               <span class='tag'>{{$tag nofilter}}</span>
                        {{/foreach}}
 
                </div>
                </div>
                <div class="wall-item-actions">
 
-                       <div class="wall-item-location">{{$location}}&nbsp;</div>       
-                       
+                       <div class="wall-item-location">{{$location}}&nbsp;</div>
+
                        <div class="wall-item-actions-social">
                        {{if $star}}
                                <a href="#" id="star-{{$id}}" onclick="dostar({{$id}}); return false;"  class="{{$star.classdo}}"  title="{{$star.do}}">{{$star.do}}</a>
                                <a href="#" id="unstar-{{$id}}" onclick="dostar({{$id}}); return false;"  class="{{$star.classundo}}"  title="{{$star.undo}}">{{$star.undo}}</a>
                                <a href="#" id="tagger-{{$id}}" onclick="itemTag({{$id}}); return false;" class="{{$star.classtagger}}" title="{{$star.tagger}}">{{$star.tagger}}</a>
                        {{/if}}
-                       
+
                        {{if $vote}}
-                               <a href="#" id="like-{{$id}}" title="{{$vote.like.0}}" onclick="dolike({{$id}},'like'); return false">{{$vote.like.1}}</a>
-                               <a href="#" id="dislike-{{$id}}" title="{{$vote.dislike.0}}" onclick="dolike({{$id}},'dislike'); return false">{{$vote.dislike.1}}</a>
+                               <a href="#" id="like-{{$id}}"{{if $item.responses.like.self}} class="active"{{/if}} title="{{$vote.like.0}}" onclick="dolike({{$id}},'like'); return false">{{$vote.like.1}}</a>
+                               <a href="#" id="dislike-{{$id}}"{{if $item.responses.dislike.self}} class="active"{{/if}} title="{{$vote.dislike.0}}" onclick="dolike({{$id}},'dislike'); return false">{{$vote.dislike.1}}</a>
                        {{/if}}
-                                               
+
                        {{if $vote.share}}
                                <a href="#" id="share-{{$id}}" title="{{$vote.share.0}}" onclick="jotShare({{$id}}); return false">{{$vote.share.1}}</a>
-                       {{/if}}                 
+                       {{/if}}
                        </div>
-                       
+
                        <div class="wall-item-actions-tools">
 
                                {{if $drop.pagedrop}}
                                        <a class="icon edit s16" href="{{$edpost.0}}" title="{{$edpost.1}}"></a>
                                {{/if}}
                        </div>
-                       
+
                </div>
        </div>
        <div class="wall-item-bottom">
                <div class="wall-item-links"></div>
-               <div class="wall-item-like" id="wall-item-like-{{$id}}">{{$like}}</div>
-               <div class="wall-item-dislike" id="wall-item-dislike-{{$id}}">{{$dislike}}</div>        
+               <div class="wall-item-like" id="wall-item-like-{{$id}}">{{$like nofilter}}</div>
+               <div class="wall-item-dislike" id="wall-item-dislike-{{$id}}">{{$dislike nofilter}}</div>
        </div>
 </div>