diff options
| author | Scott Ostler <scottbot9000@gmail.com> | 2011-02-21 23:28:46 -0500 |
|---|---|---|
| committer | Scott Ostler <scottbot9000@gmail.com> | 2011-02-21 23:28:46 -0500 |
| commit | d6c8d8ab019721ba47a289de97c95e9786dd5ded (patch) | |
| tree | fbafe9199d175250477f3881f5b5e5808df81df8 /template/frontpage_share_buttons.st | |
| parent | f2525430e94460085f369a526986b2b0a176b99f (diff) | |
sostler add favorite to frontpage
Diffstat (limited to 'template/frontpage_share_buttons.st')
| -rw-r--r-- | template/frontpage_share_buttons.st | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/template/frontpage_share_buttons.st b/template/frontpage_share_buttons.st new file mode 100644 index 0000000..003795e --- /dev/null +++ b/template/frontpage_share_buttons.st @@ -0,0 +1,10 @@ +<span class="buttons frontpage"> + <a class="permalink" href="$domain$/p/$dump.nick$/$dump.message_id$"><img src="$domain$/static/img/link.gif"></a> +$if(dump.favorited)$ + <img src="/static/img/thumbs/heartfaved.gif" class="thumb favorite" onclick="Tag.frontpage_fav(this)"> +$else$ + <div style="position: relative"> + <img src="/static/img/thumbs/heart.gif" class="thumb" onclick="Tag.frontpage_fav(this)"> + </div> +$endif$ +</span> |
