$templates.shared.doctype $lang_admin.task_manager.page_title {= expand(templates.shared.content_type); =}

$lang_admin.task_manager.page_title

{= # If there are no tasks, display a message saying that if (num_subnodes("task_info") == 0) then ( print("

$lang_admin.task_manager.no_tasks

\n"); ) # Otherwise, display the tasks else ( # Start the task table "\n"; # Display the header "\n"; print("\n"); print("\n"); print("\n"); "\n"; get_task_info("volatile.task_info"); # Display all tasks node task; foreach task "volatile.task_info" ( # Start the row for this task "\n"; # Display the task profile "\n"; # Display the task status "\n"; # Display the task age "\n"; # End the row for this task "\n"; ); # End the task table "
$lang_admin.task_manager.profile$lang_admin.task_manager.status$lang_admin.task_manager.age
"; $($task . ".profile"); ""; $($task . ".status"); ""; format($($task . ".age"), "duration"); "
\n"; ); # if tasks =}