]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/quattro/templates/wall_thread.tpl
Merge branch 'master' of ../save/merge/frio into frio_merge
[friendica.git] / view / theme / quattro / templates / wall_thread.tpl
index 64e3794ccb5c30eee3bb30cedd7da1ad7606830b..a5baff6e4082c7d01bf5266d6b43769b1934c46f 100644 (file)
                                    <a href="#" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false">{{$item.vote.share.1}}</a>
                            {{/if}}                     
                        {{/if}}
+                       {{if $item.isevent}}
+                       <div class="clear"></div>
+                       <div class="wall-item-actions-isevent">
+                               <a href="#" id="attendyes-{{$item.id}}" title="{{$item.attend.0}}" onclick="dolike({{$item.id}},'attendyes'); return false;">{{$item.attend.0}}</a>
+                               <a href="#" id="attendno-{{$item.id}}" title="{{$item.attend.1}}" onclick="dolike({{$item.id}},'attendno'); return false;">{{$item.attend.1}}</a>
+                               <a href="#" id="attendmaybe-{{$item.id}}" title="{{$item.attend.2}}" onclick="dolike({{$item.id}},'attendmaybe'); return false;">{{$item.attend.2}}</a>
+                       </div>
+                       {{/if}}
                                                
                        </div>
                        
        </div>
        <div class="wall-item-bottom">
                <div class="wall-item-links"></div>
-               <div class="wall-item-like" id="wall-item-like-{{$item.id}}">{{$item.like}}</div>
-               <div class="wall-item-dislike" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div>      
+               {{if $item.responses}}
+                       {{foreach $item.responses as $verb=>$response}}
+                               <div class="wall-item-{{$verb}}" id="wall-item-{{$verb}}-{{$item.id}}">{{$response.output}}</div>
+                       {{/foreach}}
+               {{/if}}
        </div>
        
        {{if $item.threaded}}{{if $item.comment}}{{if $item.indent==comment}}