[dw-free] moderated comms UI quickfixes
[commit: http://hg.dwscoalition.org/dw-free/rev/76412d03bb1f]
http://bugs.dwscoalition.org/show_bug.cgi?id=1434
Mod queue link printout cleanup.
Patch by
denise.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1434
Mod queue link printout cleanup.
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- cgi-bin/weblib.pl
-------------------------------------------------------------------------------- diff -r 29d25a7a8ab2 -r 76412d03bb1f cgi-bin/weblib.pl --- a/cgi-bin/weblib.pl Thu Jul 30 09:09:55 2009 -0500 +++ b/cgi-bin/weblib.pl Thu Jul 30 09:20:58 2009 -0500 @@ -2504,7 +2504,6 @@ sub control_strip 'learn_more' => LJ::run_hook('control_strip_learnmore_link') || "<a href='$LJ::SITEROOT/'>$BML::ML{'web.controlstrip.links.learnmore'}</a>", 'explore' => "<a href='$LJ::SITEROOT/explore/'>" . BML::ml('web.controlstrip.links.explore', { sitenameabbrev => $LJ::SITENAMEABBREV }) . "</a>", 'confirm' => "<a href='$LJ::SITEROOT/register.bml'>$BML::ML{'web.controlstrip.links.confirm'}</a>", - 'queue' => "<a href='$LJ::SITEROOT/community/moderate.bml'>$BML::ML{'web.controlstrip.links.queue'}</a>", ); if ($remote) { @@ -2532,6 +2531,7 @@ sub control_strip $links{'edit_community_invites'} = "<a href='$LJ::SITEROOT/community/sentinvites.bml?authas=$journal->{user}'>$BML::ML{'web.controlstrip.links.managecomminvites'}</a>"; $links{'edit_community_members'} = "<a href='$LJ::SITEROOT/community/members.bml?authas=$journal->{user}'>$BML::ML{'web.controlstrip.links.editcommmembers'}</a>"; $links{'track_community'} = "<a href='$LJ::SITEROOT/manage/subscriptions/user.bml?journal=$journal->{user}'>$BML::ML{'web.controlstrip.links.trackcomm'}</a>"; + $links{'queue'} = "<a href='$LJ::SITEROOT/community/moderate?authas=$journal->{user}'>$BML::ML{'web.controlstrip.links.queue'}</a>"; } } my $journal_display = LJ::ljuser($journal); @@ -2726,7 +2726,7 @@ sub control_strip } if ( $journal->prop( 'moderated' ) ) { - $ret .= "$links{queue} "; + $ret .= "$links{queue} [" . LJ::get_mod_queue_count( $journal ) . "] "; } else { $ret .= "$links{edit_community_profile} "; } --------------------------------------------------------------------------------