Another Conditional - Mod queue and Reported

Russ

Well-known member
Is there a conditional to only show the mod queue/reported items if there's actually an item to show?

Basically if there's no queue or reported item I'm wanting to hide that.

Thanks
 
Edit moderator_bar.html. At the beginning of file add
Code:
<xen:if is="{$visitor.is_moderator} and ({$session.moderationCounts.total} or {$session.reportCounts.total})">
and at the end of file add
Code:
</xen:if>
 
Top Bottom