diff options
Diffstat (limited to 'template/share_buttons.st')
| -rw-r--r-- | template/share_buttons.st | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/template/share_buttons.st b/template/share_buttons.st index 883c66d..4400fb3 100644 --- a/template/share_buttons.st +++ b/template/share_buttons.st @@ -1,6 +1,13 @@ -<div class="share-buttons"> -<img src="/static/tumblricon.png" class="share-button" onclick="Share.tumblr(this)"> -<img src="/static/fbbutton.png" class="share-button" onclick="Share.facebook(this)"> -<img src="/static/twittericon.png" class="share-button" onclick="Share.twitter(this)"> -<img src="/static/delishicon.png" class="share-button" onclick="Share.delicious(this)"> +<div class="buttons"> +$if(dump.favorited)$ + <img src="/static/thumbup.colored.gif" class="thumb favorite" onclick="Tag.favorite(this)"> +$else$ + <img src="/static/thumbup.gif" class="thumb" onclick="Tag.favorite(this)"> +$endif$ + <span class="other-sites"> + <img src="/static/share/tumblricon.png" class="share" onclick="Share.tumblr(this)"> + <img src="/static/share/fbbutton.png" class="share" onclick="Share.facebook(this)"> + <img src="/static/share/twittericon.png" class="share" onclick="Share.twitter(this)"> + <img src="/static/share/delishicon.png" class="share" onclick="Share.delicious(this)"> + </span> </div>
\ No newline at end of file |
