summaryrefslogtreecommitdiff
path: root/template/frontpage_share_buttons.st
diff options
context:
space:
mode:
Diffstat (limited to 'template/frontpage_share_buttons.st')
-rw-r--r--template/frontpage_share_buttons.st10
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>