summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/frontpage.st35
-rw-r--r--template/log_dump.st3
2 files changed, 15 insertions, 23 deletions
diff --git a/template/frontpage.st b/template/frontpage.st
index 7910771..b6cb58a 100644
--- a/template/frontpage.st
+++ b/template/frontpage.st
@@ -453,34 +453,27 @@ jQuery(window).load(function(){
<!--END BANNER-->
- <div id="posts" class="clickable clearfix">
-<div id="sideinfo">
-You are viewing the current trending images posted to dump.fm; a super fun community of real-time image posting.
- If you already have an account <strong><a href="http://dump.fm/login" class="signin">sign in</a></strong> If not <strong><a href="http://dump.fm/register">register</a></strong>!
-
-
-
-</div>
+<div id="posts" class="clickable clearfix">
+ <div id="sideinfo">
+ $if(user_nick)$
+ <strong><a href="$domain$/chat">JOIN CHAT</a></strong>
+ <div id="hallnick">
+ <iframe src="$domain$/fullscreen" style="overflow:hidden;width:240px;height:200px;border:0px;"></iframe>
+ </div>
+ $else$
+ Here are today's top images from dump.fm
+ <br /> <br />
+ Join the conversation!<strong><a href="$domain$/login" class="signin">sign in</a></strong> or <strong><a href="$domain$/register">register</a></strong>
+ $endif$
+ </div>
<!-- <div class="logged-dump">
- <i id="hallnick">On dump.fm now..</i>
+ <div id="hallnick">On dump.fm now..</i>
<iframe src="http://dump.fm/fullscreen"style="overflow:hidden;width:240px;height:200px;border:0px;"></iframe>
</div>-->
$if(dumps)$
-
-
-
$dumps: { d | $hall_log_dump(dump=d)$ }$
-
- $if(json_tags)$
- <script>
- $json_tags: { j | $j$;
- }$
- </script>
- $endif$
- $else$
- No dumps!
$endif$
</div>
diff --git a/template/log_dump.st b/template/log_dump.st
index 1cf3145..fced8de 100644
--- a/template/log_dump.st
+++ b/template/log_dump.st
@@ -4,8 +4,7 @@ $else$
<div class="logged-dump dump $if(dump.favorited)$favorite$endif$" id="message-$dump.message_id$" nick="$dump.nick$">
$endif$
-<div><a href="/p/$dump.nick$/$dump.message_id$">$dump.message_id$</a></div>
-$dump.created_on$ -- by <a href="/$dump.nick$"><b>$dump.nick$</b></a>$if(dump.score)$ <span>$dump.score$</span><img src="$domain$/static/img/thumbs/heartfavedsm.gif" />$endif$
+$dump.created_on$ -- by <a href="/$dump.nick$"><b>$dump.nick$</b></a>
<div class="content" data-category="posts">$dump.content$</div>
<hr />
$share_buttons()$