aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-14 14:16:16 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-10-14 14:16:16 -0700
commitde697a42671e3c50106dab29eb108a122753a825 (patch)
tree6811c15218b5c4e3382dde4ffb957b3a26ef0d2e /view/tpl
parentb2d949ce9a499653bba833913084b0c1406cca7f (diff)
downloadvolse-hubzilla-de697a42671e3c50106dab29eb108a122753a825.tar.gz
volse-hubzilla-de697a42671e3c50106dab29eb108a122753a825.tar.bz2
volse-hubzilla-de697a42671e3c50106dab29eb108a122753a825.zip
issue #86 - like/dislike in photos not working
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/photo_view.tpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl
index 225b4f6b0..867a1e87b 100755
--- a/view/tpl/photo_view.tpl
+++ b/view/tpl/photo_view.tpl
@@ -133,14 +133,14 @@
{{/if}}
{{if $likebuttons}}
<div class="photo-item-tools-right btn-group pull-right">
- <button type="button" class="btn btn-default btn-sm" onclick="dolike({{$id}},'like'); return false">
- <i class="icon-thumbs-up-alt" title="{{$likethis}}"></i>
+ <button type="button" class="btn btn-default btn-sm" onclick="dolike({{$likebuttons.id}},'like'); return false">
+ <i class="icon-thumbs-up-alt" title="{{$likebuttons.likethis}}"></i>
</button>
- <button type="button" class="btn btn-default btn-sm" onclick="dolike({{$id}},'dislike'); return false">
- <i class="icon-thumbs-down-alt" title="{{$nolike}}"></i>
+ <button type="button" class="btn btn-default btn-sm" onclick="dolike({{$likebuttons.id}},'dislike'); return false">
+ <i class="icon-thumbs-down-alt" title="{{$likebuttons.nolike}}"></i>
</button>
</div>
- <div id="like-rotator-{{$id}}" class="photo-like-rotator pull-right"></div>
+ <div id="like-rotator-{{$likebuttons.id}}" class="photo-like-rotator pull-right"></div>
{{/if}}
<div class="clear"></div>
</div>