diff options
| author | Scott Ostler <scottbot9000@gmail.com> | 2010-06-23 15:57:14 -0400 |
|---|---|---|
| committer | Scott Ostler <scottbot9000@gmail.com> | 2010-06-23 15:57:14 -0400 |
| commit | 15f5a8ed8e981486697790fe9613b1c26dceda42 (patch) | |
| tree | 172b66b346bb4d8d90ec255125a02576b182280d /template | |
| parent | c4041b4766f8afa0c462fbea2963b61bc43f0e08 (diff) | |
Added faving to hall of fame
Diffstat (limited to 'template')
| -rw-r--r-- | template/fame.st | 2 | ||||
| -rw-r--r-- | template/fame_dump.st | 14 |
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> <img height="16px" width="16px" src="http://dump.fm/static/img/thumbs/heartfaved.gif">$dump.count$ + </div></a> <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()$ |
