diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-10-14 14:16:16 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-10-14 14:16:16 -0700 |
commit | de697a42671e3c50106dab29eb108a122753a825 (patch) | |
tree | 6811c15218b5c4e3382dde4ffb957b3a26ef0d2e /view | |
parent | b2d949ce9a499653bba833913084b0c1406cca7f (diff) | |
download | volse-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')
-rwxr-xr-x | view/tpl/photo_view.tpl | 10 |
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> |