{strip} {function user_count user_id=null}{strip} {if $is_admin} {$user_count = ifset($team_counts[$user_id], $empty_user_count)} {tasksUserTasksCounterService::getPairs($user_count.total, $user_count.count, $user_count.bg_color, $user_count.text_color)} {/if} {/strip}{/function} {$is_premium = $wa->tasks->isPremium()} {$empty_user_count = [ count => 0, total => 0, text_color => '#999', bg_color => 'transparent' ]} {if $wa->isSingleAppMode()}
{$wa->headerSingleAppUser()}
{/if} {/strip}