From d690c07ed8067c951bca177be7b4b0b72dfeb81a Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 26 Feb 2019 08:57:46 +0100 Subject: [PATCH] process/show: Don't show the control separator when in fullscreen or on the dashboard --- application/controllers/ProcessController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/controllers/ProcessController.php b/application/controllers/ProcessController.php index 9b91858..c1a3dc8 100644 --- a/application/controllers/ProcessController.php +++ b/application/controllers/ProcessController.php @@ -123,7 +123,6 @@ class ProcessController extends Controller protected function prepareControls($bp, $renderer) { $controls = $this->controls(); - $controls->getAttributes()->add('class', 'separated'); if ($this->showFullscreen) { $controls->getAttributes()->add('class', 'want-fullscreen'); @@ -140,7 +139,9 @@ class ProcessController extends Controller if (! ($this->showFullscreen || $this->view->compact)) { $controls->add($this->getProcessTabs($bp, $renderer)); + $controls->getAttributes()->add('class', 'separated'); } + $controls->add(Breadcrumb::create(clone $renderer)); if (! $this->showFullscreen && ! $this->view->compact) { $controls->add(