From e9fe067248bb135f56958d7df3e38203a7c338c1 Mon Sep 17 00:00:00 2001 From: Christoph Schulthess Date: Fri, 10 Feb 2017 12:20:15 +0100 Subject: working on taskstatus --- modules-available/debugconfig/page.inc.php | 3 +++ modules-available/debugconfig/templates/debugconfig.html | 1 + 2 files changed, 4 insertions(+) diff --git a/modules-available/debugconfig/page.inc.php b/modules-available/debugconfig/page.inc.php index 04ce6793..ea78e3c5 100644 --- a/modules-available/debugconfig/page.inc.php +++ b/modules-available/debugconfig/page.inc.php @@ -24,6 +24,9 @@ class Page_debugConfig extends Page { $debug_config = $this->getConfig(); Render::addTemplate('debugconfig', array("debugEnabled" => $debug_config["enabled"], "debugServer" => $debug_config["debugServer"], "port" => $debug_config["port"])); + $taskid = Taskmanager::isTask("DispatchRelay"); + if ($taskid !== Null ) + Render::addTemplate('relaystatus', array("taskid" => $taskid)) } private function getConfig() diff --git a/modules-available/debugconfig/templates/debugconfig.html b/modules-available/debugconfig/templates/debugconfig.html index 83ea0449..4e5353b5 100644 --- a/modules-available/debugconfig/templates/debugconfig.html +++ b/modules-available/debugconfig/templates/debugconfig.html @@ -24,6 +24,7 @@ +