summaryrefslogtreecommitdiff
path: root/template/share_buttons.st
diff options
context:
space:
mode:
authortim b <timb@camcompu.home>2010-04-08 18:22:25 -0700
committertim b <timb@camcompu.home>2010-04-08 18:22:25 -0700
commit0db7b7ef7a35070bf802a6c3313701d6faa5b3dc (patch)
tree9025a6347992309f01397ad5b9d8ae904749a538 /template/share_buttons.st
parent6440348618ade4fbcb541c40473074833a47d198 (diff)
favs
Diffstat (limited to 'template/share_buttons.st')
-rw-r--r--template/share_buttons.st6
1 files changed, 4 insertions, 2 deletions
diff --git a/template/share_buttons.st b/template/share_buttons.st
index d061743..3f1f472 100644
--- a/template/share_buttons.st
+++ b/template/share_buttons.st
@@ -1,8 +1,10 @@
<div class="buttons">
-$if(dump.favorited)$
+$if(dump)$
+ $if(dump.favorited)$
<img src="/static/img/thumbs/color.left.gif" class="thumb favorite" onclick="Tag.favorite(this)">
-$else$
+ $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)">