{strip} {function counts_pair total=0 count=0 bg_color=null text_color=null} {if !$count} {$total} {elseif $count == $total} {$count} {else} {$total} {$count} {/if} {/function} {$empty_user_count = [ count => 0, total => 0, text_color => '#999', bg_color => 'transparent' ]} {function user_count user_id=null}{strip} {if $is_admin} {$user_count = ifset($team_counts[$user_id], $empty_user_count)} {counts_pair total=$user_count.total count=$user_count.count bg_color=$user_count.bg_color text_color=$user_count.text_color} {/if} {/strip}{/function} {if !empty($tiny_ad)}
×
[`Mobile app`]

[`Install Webasyst Teamwork mobile app on your phone today:`]

Google Play

[`iOS TestFlight public beta:`] testflight.apple.com/join/BJVzwgVu

{/if}

{if $lists}
[`My lists`]
{/if} {if $scopes || $is_admin}
{if $is_admin} {/if}
[`Scopes`]
{if $scopes} {else}

[`Scopes are not set.`]

{/if}
{/if} {* @event backend_sidebar.%plugin_id%.section *} {if !empty($backend_sidebar)}{foreach $backend_sidebar as $_}{ifset($_.section)}{/foreach}{/if}
[`Status`]
[`Team`]
{$_users = tasksHelper::getTeam(null, true)} {if !empty($_users)} {else}

{sprintf(_w('Use app "%s" to provide access to Tasks app for your teammates.'), $team_app_name)}

{/if}
{if $projects || $is_admin}
{if $is_admin} {/if}
[`Projects`]
{if $projects} {else}

[`Create a project by clicking the green tiny icon above.`]

{/if}
{/if} {if !empty($cloud)} {if count($cloud) > tasksTaskTagsModel::TAGS_MAX_COUNT}
[`Tags`]

{sprintf(_w('There are more than %u tags.'), tasksTaskTagsModel::TAGS_MAX_COUNT)}
[`Start typing in the search field to find a tag.`]
{else}
[`Tags`]
{foreach $cloud as $tag} {$tag.name|escape} {/foreach}
{/if} {/if}
{/strip}