madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20615: LJSUP-10478: Link "Back to My Journal Sc...

Committer: sbelyaev
LJSUP-10478: Link "Back to My Journal Scheduled Entries" should not be if user hasn't selected community
U   trunk/htdocs/manage/scheduled_posts.bml
Modified: trunk/htdocs/manage/scheduled_posts.bml
===================================================================
--- trunk/htdocs/manage/scheduled_posts.bml	2011-11-23 14:17:13 UTC (rev 20614)
+++ trunk/htdocs/manage/scheduled_posts.bml	2011-11-23 14:21:59 UTC (rev 20615)
@@ -148,8 +148,10 @@
                                      'selected' =>  $only_me_checked });
 
     $ret .= "<label for='only_me'>".$ML{'.only_my_entries'}."</label></p>";
-    $ret .= "<p><a href='$LJ::SITEROOT/manage/$page_name'>" . BML::ml('.lnk.journal') . "</a></p>";
     $ret .= "</form>\n";
+    if (!$usejournal_u || $usejournal_u->is_community) {
+        $ret .= "<p><a href='$LJ::SITEROOT/manage/$page_name'>" . BML::ml('.lnk.journal') . "</a></p>";
+    }
 
     $ret .= $entry_chooser->(\@recent_entries,
                                 first_page   => $skip ? 0 : 1,

Tags: bml, livejournal, madeon, sbelyaev
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