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.st19
1 files changed, 14 insertions, 5 deletions
diff --git a/template/share_buttons.st b/template/share_buttons.st
index b510db5..3f1f472 100644
--- a/template/share_buttons.st
+++ b/template/share_buttons.st
@@ -1,6 +1,15 @@
-<div class="share-buttons">
-<img src="/static/img/tumblricon.png" class="share-button" onclick="Share.tumblr(this)">
-<img src="/static/img/fbbutton.png" class="share-button" onclick="Share.facebook(this)">
-<img src="/static/img/twittericon.png" class="share-button" onclick="Share.twitter(this)">
-<img src="/static/img/delishicon.png" class="share-button" onclick="Share.delicious(this)">
+<div class="buttons">
+$if(dump)$
+ $if(dump.favorited)$
+ <img src="/static/img/thumbs/color.left.gif" class="thumb favorite" onclick="Tag.favorite(this)">
+ $else$
+ <img src="/static/img/thumbs/bw.left.gif" class="thumb" onclick="Tag.favorite(this)">
+ $endif$
+$endif$
+ <span class="other-sites">
+ <img src="/static/img/share/tumblricon.png" class="share" onclick="Share.tumblr(this)">
+ <img src="/static/img/share/fbbutton.png" class="share" onclick="Share.facebook(this)">
+ <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)">
+ </span>
</div> \ No newline at end of file