summaryrefslogtreecommitdiff
path: root/template/share_buttons.st
diff options
context:
space:
mode:
authorScott Ostler <scottbot9000@gmail.com>2011-02-22 01:21:00 -0500
committerScott Ostler <scottbot9000@gmail.com>2011-02-22 01:21:00 -0500
commitccd0ddba1df405b6560821903bfa820bf4c54d10 (patch)
tree19d0e048613cb7227deaadcf682a047db06f049a /template/share_buttons.st
parent663766fb5e0b53c465f5277ea561cca1399521ed (diff)
add updating fav counts
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$