{$_title = "[s`Sign in with Webasyst ID`] — {$wa->accountName(false)}"}

[s`Sign in with Webasyst ID`]

[s`Allow users to use their Webasyst ID accounts to sign into the control panel.`] [s`More info`]
{if $is_connected} [s`Sign in with Webasyst ID`] [`is enabled`]. [s`Disable`] {else} [s`Sign in with Webasyst ID`] [`is disabled`].

{/if}
{if $is_connected}
{if $connected_users}

{if $users_count == $connected_users_count} [s`Connected: all team users`] {else} {_ws("Connected: ** from %d team user", "Connected: ** from %d team users", $users_count)|replace:'**':$connected_users_count} {/if}

{foreach $connected_users as $user} {/foreach}
[s`Name`] [s`Connected`] [s`Last sign-in with Webasyst ID`]
{$user.name|escape} {$user.waid_create_datetime|wa_date:'humandatetime'} {$user.waid_login_datetime|wa_date:'humandatetime'}
{else}

[s`Connected users`]

[s`No users have connected Webasyst ID`]

{/if}
{/if}