{% if tasks is not defined or adminlte_direct_include is defined %} {% set tasks = null %} {% set adminlte_tasks = adminlte_tasks() %} {% if adminlte_tasks is not null %} {% set tasks = adminlte_tasks.tasks %} {% set total = adminlte_tasks.total %} {% endif %} {% endif %} {% if tasks is defined and tasks is not null %}