summaryrefslogtreecommitdiff
path: root/template/share_buttons.st
diff options
context:
space:
mode:
Diffstat (limited to 'template/share_buttons.st')
-rw-r--r--template/share_buttons.st2
1 files changed, 2 insertions, 0 deletions
diff --git a/template/share_buttons.st b/template/share_buttons.st
index 7cb874f..67dd762 100644
--- a/template/share_buttons.st
+++ b/template/share_buttons.st
@@ -4,6 +4,7 @@
<img src="/static/img/share/twittericon.png" class="share" onclick="Share.twitter(this)">
<img src="/static/img/share/delishicon.png" class="share" onclick="Share.delicious(this)">
<a class="permalink" href="$domain$/p/$dump.nick$/$dump.message_id$"><img src="$domain$/static/img/link.gif"></a>
+$if(logged_in)$
$if(dump.favorited)$
<img src="/static/img/thumbs/heartfaved.gif" class="thumb favorite" onclick="Tag.favorite(this)">
$else$
@@ -11,6 +12,7 @@ $else$
<img src="/static/img/thumbs/heart.gif" class="thumb" onclick="Tag.favorite(this)">
</div>
$endif$
+$endif$
$if(dump.favcount)$
$dump.favcount$
$endif$