{if $_result.status}
{*After 3 seconds you will redirected back to backend of your site, or you can click "Got it" to redirect right now*}
{* Successfull binding webasyst ID contact with current isntallation user *}
{$_webasyst_contact_info = $_result.details.webasyst_contact_info}
[`Sign in with Webasyst ID`]
[`has been successfully connected to account`]
{$_webasyst_contact_info.name|default:''|escape}{if $_webasyst_contact_info.email|default:[]} ({$_webasyst_contact_info.email[0].value|escape}){/if}
[`Sign in with Webasyst ID`]
{sprintf(
_w('Webasyst ID account %s is already connected to user %s'),
$_webasyst_contact_info.userpic,
$_webasyst_contact_info.name|escape,
$_bound_contact_info.userpic,
$_bound_contact_info.name|escape)}
[`Change connection to a new user?`]
{sprintf( _w('If you need to change the connection of your Webasyst ID account to the user %s press "Confirm"'), $_current_user_info.name|escape, $_bound_contact_info.name|escape)}
{$_reload = false} {/if}