services: provide deploy buttons

fixes #13315
This commit is contained in:
Thomas Gelf 2016-11-25 20:55:48 +01:00
parent 72bb29694d
commit 4bf26b421d
2 changed files with 4 additions and 0 deletions

View File

@ -210,6 +210,9 @@ class ServiceController extends ObjectController
parent::loadObject();
}
}
$this->view->undeployedChanges = $this->countUndeployedChanges();
$this->view->totalUndeployedChanges = $this->db()
->countActivitiesSinceLastDeployedConfig();
return $this->object;
}

View File

@ -3,6 +3,7 @@
<h1><?= $this->escape($this->title) ?></h1>
<span class="action-links">
<?= $this->addLink ?>
<?= $this->render('object/deploymentLink.phtml') ?>
</span>
</div>