From 935db47a814b5b60cb004eaca90511560f454dd7 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 28 Dec 2016 12:39:13 +0100 Subject: [PATCH] ConfigController: provide quick filter showing... ...own changes in the activity log refs #13809 --- application/controllers/ConfigController.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/application/controllers/ConfigController.php b/application/controllers/ConfigController.php index c4ae2fc0..5bc15264 100644 --- a/application/controllers/ConfigController.php +++ b/application/controllers/ConfigController.php @@ -118,8 +118,16 @@ class ConfigController extends ActionController $lastDeployedId = $this->db()->getLastDeploymentActivityLogId(); $this->prepareTable('activityLog'); $this->view->table->setLastDeployedId($lastDeployedId); + $this->view->addLink = $this->view->qlink( + $this->translate('My changes'), + $this->getRequest()->getUrl() + ->with('author', $this->Auth()->getUser()->getUsername()) + ->without('page'), + null, + array('class' => 'icon-user', 'data-base-target' => '_self') + ); if ($this->hasPermission('director/deploy')) { - $this->view->addLink = $this + $this->view->addLink .= $this ->loadForm('DeployConfig') ->setDb($this->db()) ->setApi($this->api())