{$container_id = uniqid('t-external-calendar-create')} {$title = '[`External calendar`]'}

{$title}

{if !empty($calendar.owner)} {$_user = $calendar.owner} {$_user_link = "`$wa_app_url`id/`$_user.id`/"} {if !empty($_user.login)} {$_l = urlencode($_user.login)} {$_user_link = "`$wa_app_url`u/`$_l`/"} {/if}
{/if}
{$calendar.create_datetime|wa_date:'humandatetime'}
{$calendar.name|escape} {$_styles = []} {if !empty($calendar.calendar.bg_color)} {$_styles[] = "background: `$calendar.calendar.bg_color`;"} {/if} {if !empty($calendar.calendar.font_color)} {$_styles[] = "color: `$calendar.calendar.font_color`;"} {/if} → {$calendar.calendar.name|escape}
{if !empty($calendar.plugin.account_info_html)}
{$calendar.plugin.account_info_html}
{/if}
{$calendar.integration_level_name}
{if !empty($auth_error)}
{$auth_error}
{/if}
[`unlink calendar`]