Abe Hassan (burr86) wrote in changelog,
Abe Hassan
burr86
changelog

[ljcom] r5424: If there are no responses, give links to...

Committer: ahassan
If there are no responses, give links to answer the qotd and such instead of just saying "there are no responses"

http://rt.livejournal.org/Ticket/Display.html?id=4259

U   trunk/htdocs/misc/latestqotd.bml
Modified: trunk/htdocs/misc/latestqotd.bml
===================================================================
--- trunk/htdocs/misc/latestqotd.bml	2007-08-31 01:07:16 UTC (rev 5423)
+++ trunk/htdocs/misc/latestqotd.bml	2007-08-31 21:16:34 UTC (rev 5424)
@@ -30,7 +30,13 @@
     my @responses = $queue->get($start, $showsize, reverse => 1);
 
     unless (@responses) {
-        $ret .= "There are no reponses to this writer's block";
+        $ret .= "<?p There are no answers to this Writer's Block. p?>";
+        $ret .= "<ul>";
+        $ret .= "<li><a href='$LJ::SITEROOT/post_qotd.bml'>Answer the Question</a></li>";
+        $ret .= "<li><a href='" . $remote->journal_base . "/friends'>Read your Friends Page</a></li>"
+            if $remote;
+        $ret .= "<li><a href='$LJ::SITEROOT/site/search.bml'>Explore $LJ::SITENAMEABBREV</a></li>";
+        $ret .= "</ul>";
         return $ret;
     }
 

Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments