multi-edit: show deployment link

This commit is contained in:
Thomas Gelf 2016-11-25 20:51:02 +01:00
parent 42f98e9bbf
commit 72bb29694d
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,9 @@
<div class="controls">
<?= $this->tabs ?>
<h1><?= $this->escape($this->title) ?></h1>
<span class="action-links">
<?= $this->render('object/deploymentLink.phtml') ?>
</span>
</div>
<div class="content">

View File

@ -190,7 +190,8 @@ abstract class ObjectsController extends ActionController
->setObjects($objects)
->pickElementsFrom($this->loadForm($formName), $this->multiEdit)
->handleRequest();
$this->view->totalUndeployedChanges = $this->db()
->countActivitiesSinceLastDeployedConfig();
$this->setViewScript('objects/form');
}