Merge branch 'task/host-in-overview'

This commit is contained in:
Jeroen De Meerleer 2019-04-25 16:08:57 +02:00
commit 4f5a15a8aa
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
2 changed files with 3 additions and 0 deletions

View File

@ -60,6 +60,7 @@ $allJobsRendered = array();$count = 0;
foreach($allJobsResult as $key=>$value) {
$allJobsRendered[$count]["jobID"] = $value["jobID"];
$allJobsRendered[$count]["name"] = $value["name"];
$allJobsRendered[$count]["host"] = $value["host"];
$allJobsRendered[$count]["nextrun"] = date("d/m/Y H:i:s", $value["nextrun"]);
$allJobsRendered[$count]["delay"] = secondsToInterval($value["delay"]);

View File

@ -11,6 +11,7 @@
<table class="table">
<tr>
<th>Name</th>
<th>Host</th>
<th>Delay</th>
<th>Next run</th>
<th></th>
@ -18,6 +19,7 @@
{% for job in jobs %}
<tr>
<td>{{ job.name }}</td>
<td>{{ job.host }}</td>
<td>{{ job.delay }}</td>
<td>{{ job.nextrun }}</td>
<td>