aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-10-15 09:36:51 +0200
committerMario Vavti <mario@mariovavti.com>2015-10-15 09:36:51 +0200
commit2848f5dab4e0f904280e77d6403ab69926cabe1d (patch)
treebcb2f2a70660d7abe319b126035d2e0b2ddd2c41 /view/tpl
parent3c7d2d4cea80fae5113de8c78ed522ce8b32c16d (diff)
parentf0f5a8f2b510b92aa1fde2cbaf118a784c154432 (diff)
downloadvolse-hubzilla-2848f5dab4e0f904280e77d6403ab69926cabe1d.tar.gz
volse-hubzilla-2848f5dab4e0f904280e77d6403ab69926cabe1d.tar.bz2
volse-hubzilla-2848f5dab4e0f904280e77d6403ab69926cabe1d.zip
Merge branch 'master' of https://github.com/redmatrix/hubzilla
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>