summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/fame.st2
-rw-r--r--template/fame_dump.st14
2 files changed, 12 insertions, 4 deletions
diff --git a/template/fame.st b/template/fame.st
index 9742362..0fa5b03 100644
--- a/template/fame.st
+++ b/template/fame.st
@@ -16,7 +16,7 @@
<div id="messagePanep">
<div id="userListp">
- <h2>Hall Of Fame </h2><br><h3></h3>
+ <h2>Hall Of Fame </h2><br><h3>Updated every few hours</h3>
</div>
<div id="messageList">
diff --git a/template/fame_dump.st b/template/fame_dump.st
index c0fb2a2..8ebce02 100644
--- a/template/fame_dump.st
+++ b/template/fame_dump.st
@@ -1,4 +1,8 @@
-<div class="logged-dump dump" id="message-$dump.message_id$" nick="$dump.nick$">
+$if(dump.ztags)$
+ <div class="logged-dump dump" id="message-$dump.message_id$" nick="$dump.nick$" tags="$dump.tags: { tag | $tag.nick$:$tag.tag$ }$">
+$else$
+ <div class="logged-dump dump $if(dump.favorited)$favorite$endif$" id="message-$dump.message_id$" nick="$dump.nick$">
+$endif$
$dump.created_on$ -- by <a href="/$dump.nick$"><b>$dump.nick$</b>
<div id="logavatar">
@@ -7,8 +11,12 @@ $if(dump.avatar)$
$else$
<img height="50" width="50" src="/static/noinfo.png">
$endif$
-
- </div></a> &nbsp;&nbsp;&nbsp;<img height="16px" width="16px" src="http://dump.fm/static/img/thumbs/heartfaved.gif">$dump.count$
+ </div></a>&nbsp;&nbsp;&nbsp;<img height="16px" width="16px" src="http://dump.fm/static/img/thumbs/heartfaved.gif">$dump.count$
+$if(dump.favorited)$
+ <img src="/static/img/thumbs/heartfaved.gif" class="thumb favorite" onclick="Tag.favorite(this)">
+$else$
+ <img src="/static/img/thumbs/heart.gif" class="thumb" onclick="Tag.favorite(this)">
+$endif$
<div class="content">$dump.content$</div>
<hr />
$share_buttons()$