{$_capture_array = []} {strip}
{foreach $widgets as $block => $block_widgets}
{foreach $block_widgets as $w} {include file="./DashboardWidget.html" inline} {* INIT WIDGET *} {capture append="_capture_array"} {/capture} {/foreach}
{/foreach} {* EMPTY GROUP*}
[`Your dashboard is empty. Add some widgets by clicking Customize dashboard on the top.`]
{* HIDDEN LOADING SCREEN *}
{* LOAD RESOURCES *} {* SCRIPTS *} {$_capture_array|join:''|strip}
{/strip}