Первый фоллен на хелле (wildkin) wrote in changelog,
Первый фоллен на хелле
wildkin
changelog

[livejournal] r19266: LJSUP-9031: New controlstrip template pa...

Committer: dnikolaev
LJSUP-9031: New controlstrip template parameter: journal_pending_members, if journal_is_comminity is true

U   trunk/cgi-bin/LJ/ControlStrip.pm
Modified: trunk/cgi-bin/LJ/ControlStrip.pm
===================================================================
--- trunk/cgi-bin/LJ/ControlStrip.pm	2011-06-09 06:30:52 UTC (rev 19265)
+++ trunk/cgi-bin/LJ/ControlStrip.pm	2011-06-09 06:39:12 UTC (rev 19266)
@@ -268,6 +268,9 @@
                 "$LJ::SITEROOT/community/members.bml?authas=$journal->{user}",
                 BML::ml('web.controlstrip.links.editcommmembers')
             );
+
+            my $pending_members = LJ::get_pending_members($journal->id()) || [];
+            $data_journal->{pending_members} = scalar(@$pending_members);
         }
 
         if ($remote->is_person) {

Tags: livejournal, pm, wildkin
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