aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_view.tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-10-26 21:50:20 +0100
committermarijus <mario@mariovavti.com>2014-10-26 21:50:20 +0100
commitf2ccd37c8bd8c9f3bc4b579721439f65d55cec2b (patch)
tree5c4f44facc917ad0431c8b5a186f29d3afd10136 /view/tpl/photo_view.tpl
parent6497e78956825dc845eb8a998369154c4d823a95 (diff)
downloadvolse-hubzilla-f2ccd37c8bd8c9f3bc4b579721439f65d55cec2b.tar.gz
volse-hubzilla-f2ccd37c8bd8c9f3bc4b579721439f65d55cec2b.tar.bz2
volse-hubzilla-f2ccd37c8bd8c9f3bc4b579721439f65d55cec2b.zip
wrong vars in template
Diffstat (limited to 'view/tpl/photo_view.tpl')
-rwxr-xr-xview/tpl/photo_view.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl
index f6b709247..5e3518c9f 100755
--- a/view/tpl/photo_view.tpl
+++ b/view/tpl/photo_view.tpl
@@ -98,9 +98,9 @@
<div class="btn-group">
<button type="button" class="btn btn-default btn-sm wall-item-like dropdown-toggle" data-toggle="dropdown" id="wall-item-like-{{$id}}">{{$like_count}} {{$like_button_label}}</button>
{{if $like_list_part}}
- <ul class="dropdown-menu" role="menu" aria-labelledby="wall-item-like-{{$item.id}}">{{foreach $like_list_part as $liker}}<li role="presentation">{{$liker}}</li>{{/foreach}}</ul>
+ <ul class="dropdown-menu" role="menu" aria-labelledby="wall-item-like-{{$id}}">{{foreach $like_list_part as $liker}}<li role="presentation">{{$liker}}</li>{{/foreach}}</ul>
{{else}}
- <ul class="dropdown-menu" role="menu" aria-labelledby="wall-item-like-{{$item.id}}">{{foreach $like_list as $liker}}<li role="presentation">{{$liker}}</li>{{/foreach}}</ul>
+ <ul class="dropdown-menu" role="menu" aria-labelledby="wall-item-like-{{$id}}">{{foreach $like_list as $liker}}<li role="presentation">{{$liker}}</li>{{/foreach}}</ul>
{{/if}}
</div>
{{/if}}