{strip} {$_is_admin = $wa->user()->isAdmin($wa->app())} {function name="account_info_html" calendar=[]} {if !empty($calendar.plugin.account_info_html)}
{$calendar.plugin.account_info_html}
{/if} {/function} {function name="mapped_calendar_name_html" calendar=[]} {$_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} {/function} {function name="not_connected_html" calendar=[]}
[`Not connected`] {if $calendar.is_own} [`Configure`] {/if}
{/function}

[`Personal calendar settings`]

{* @event backend_schedule_settings.%plugin_id%.top *} {if !empty($backend_schedule_settings)}{foreach $backend_schedule_settings as $_}{ifset($_.top)}{/foreach}{/if} {if !empty($calendars)}
    {foreach $calendars as $calendar}
  • {*{$calendar.plugin.name|escape}*}
    {if !empty($calendar.plugin.icon)} {/if} {$calendar.name|escape} {if $calendar.is_mapped} {mapped_calendar_name_html calendar=$calendar} {/if}
    {if $calendar.is_connected || $calendar.is_mapped}
    {account_info_html calendar=$calendar}
    {/if} {if !$calendar.is_connected || !$calendar.is_mapped}
    {not_connected_html calendar=$calendar}
    {/if}
    {$calendar.integration_level_name}
    {if !empty($calendar.create_datetime)}
    {$calendar.create_datetime|wa_date:'humandatetime'}
    {/if}
  • {/foreach}
{else}

[`No external calendars connected`]

{/if} {* @event backend_schedule_settings.%plugin_id%.bottom *} {if !empty($backend_schedule_settings)}{foreach $backend_schedule_settings as $_}{if isset($_.bottom)} {$_.bottom} {/if}{/foreach}{/if}
{/strip}