aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/dispy/wall_item.tpl
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2012-03-17 01:49:17 +0100
committerzottel <github@zottel.net>2012-03-17 01:49:17 +0100
commitc56e3c5dd4bcbb949282fd3b4c065ccfd4673726 (patch)
treec4574eae6f2aaf68c50ccc1022944e0e1c45760b /view/theme/dispy/wall_item.tpl
parentea4c806c5c3adacb6ef585de657e5f34c2e24c98 (diff)
parent8af36b92bb3a78235f5741c764d034dc66b959b2 (diff)
downloadvolse-hubzilla-c56e3c5dd4bcbb949282fd3b4c065ccfd4673726.tar.gz
volse-hubzilla-c56e3c5dd4bcbb949282fd3b4c065ccfd4673726.tar.bz2
volse-hubzilla-c56e3c5dd4bcbb949282fd3b4c065ccfd4673726.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'view/theme/dispy/wall_item.tpl')
-rw-r--r--view/theme/dispy/wall_item.tpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/view/theme/dispy/wall_item.tpl b/view/theme/dispy/wall_item.tpl
index b013cfeef..c67a88635 100644
--- a/view/theme/dispy/wall_item.tpl
+++ b/view/theme/dispy/wall_item.tpl
@@ -26,11 +26,14 @@
<a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a>
<a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
{{ endif }}
+
{{ if $item.vote }}
<div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id">
<a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a>
<a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
- {{ if $item.vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>{{ endif }}
+ {{ if $item.vote.share }}
+ <a href="#" id="share-$item.id"
+ class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>{{ endif }}
<img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
</div>
{{ endif }}