{{if $newVersion}}

{lang="dashboard_version_info" sprintf="$newVersion['version']"}

{{if $newVersion['security']}}

{lang="this_is_a_security_update"}

{{endif}} {{if isset( $newVersion['releasenotes'] ) and $newVersion['releasenotes']}}
{$newVersion['releasenotes']|raw}
{{endif}} {{if member.hasAcpRestriction( 'core', 'system', 'upgrade_manage' )}} {lang="upgrade_now"} {{endif}} {{if $newVersion['updateurl']}} {lang="dashboard_version_moreinfo"} {{endif}}

{{endif}} {{if count($bulletins)}} {{foreach $bulletins as $bulletin}}

{$bulletin['title']}

{$bulletin['description']|raw}

{lang="dashboard_version_moreinfo"}  

{{endforeach}} {{endif}} {{if count($warnings)}}
{{foreach $warnings as $warning}}

{$warning['title']}

{$warning['description']|raw}

{{endforeach}}
{{endif}} {{$unusedBlocks = 0;}} {{foreach $info as $block}} {{if !isset($blocks[ $block['key'] ]) }} {{$unusedBlocks++;}} {{endif}} {{endforeach}} {template="buttons" params="array( 'add' => array( 'icon' => 'plus', 'title' => 'add_button', 'link' => \IPS\Http\Url::internal( '#elAddWidgets_button_menu' ), 'id' => 'elAddWidgets', 'dropdown' => true, 'class' => ( $unusedBlocks > 0 ? '' : 'ipsButton_disabled' ), 'data' => array( 'ipsMenu' => true ) ) )" group="global" app="core"}
    {{foreach $cols['main'] as $cellKey}} {{if array_key_exists( $cellKey, $blocks ) and isset($info[ $cellKey ])}} {template="widgetWrapper" group="dashboard" app="core" params="$blocks[ $cellKey ], $info[ $cellKey ]"} {{endif}} {{endforeach}}
    {{foreach $cols['side'] as $cellKey}} {{if array_key_exists( $cellKey, $blocks ) and isset($info[ $cellKey ])}} {template="widgetWrapper" group="dashboard" app="core" params="$blocks[ $cellKey ], $info[ $cellKey ]"} {{endif}} {{endforeach}}