Committer: sbelyaev
LJSUP-9307: enable control strip for scheduled entries and remove usejournalU trunk/htdocs/preview/entry.bml U trunk/htdocs/update.bml
Modified: trunk/htdocs/preview/entry.bml =================================================================== --- trunk/htdocs/preview/entry.bml 2012-02-03 14:11:29 UTC (rev 21092) +++ trunk/htdocs/preview/entry.bml 2012-02-03 14:13:58 UTC (rev 21093) @@ -249,7 +249,9 @@ $p->{head_content}->set_object_type( $p->{_type} ); # Don't show the navigation strip - $p->{head_content}->set_options( { dont_show_nav_strip => 'UNUSED' } ); + if (!$delayed_id) { + $p->{head_content}->set_options( { dont_show_nav_strip => 'UNUSED' } ); + } my $userlite_journal = LJ::S2::UserLite($u); my $userlite_poster = LJ::S2::UserLite($up); Modified: trunk/htdocs/update.bml =================================================================== --- trunk/htdocs/update.bml 2012-02-03 14:11:29 UTC (rev 21092) +++ trunk/htdocs/update.bml 2012-02-03 14:13:58 UTC (rev 21093) @@ -625,7 +625,8 @@ $itemid = $itemid * 256 + $anum; $$body .= BML::ml('.update.success2', {'aopts' => "href='" . $ju->journal_base . "/'"}); } else { - $$body .= BML::ml('.update.success3', {'aopts' => "href=$LJ::SITEROOT/manage/scheduled_posts.bml?usejournal=" . $ju->username}); + my $ext = $remote->equal($ju) ? '' : "?usejournal=" . $ju->username; + $$body .= BML::ml('.update.success3', {'aopts' => "href=$LJ::SITEROOT/manage/scheduled_posts.bml$ext"}); } $$body .= $res->{extra_result_message};