{{if count( $updateVersions )}}
{lang="dashboard_version_head"}
{{endif}}
{{if count($bulletins)}}
{{foreach $bulletins as $bulletin}}
{{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}}