diff --git a/application/views/scripts/objects/form.phtml b/application/views/scripts/objects/form.phtml index 7adf827f..f823deff 100644 --- a/application/views/scripts/objects/form.phtml +++ b/application/views/scripts/objects/form.phtml @@ -1,6 +1,9 @@
tabs ?>

escape($this->title) ?>

+ +render('object/deploymentLink.phtml') ?> +
diff --git a/library/Director/Web/Controller/ObjectsController.php b/library/Director/Web/Controller/ObjectsController.php index 9ea258b4..1ec38b4c 100644 --- a/library/Director/Web/Controller/ObjectsController.php +++ b/library/Director/Web/Controller/ObjectsController.php @@ -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'); }