diff --git a/src/PHPCensor/Controller/ProjectController.php b/src/PHPCensor/Controller/ProjectController.php index 72c5d92d..8f77e26b 100644 --- a/src/PHPCensor/Controller/ProjectController.php +++ b/src/PHPCensor/Controller/ProjectController.php @@ -94,10 +94,12 @@ class ProjectController extends PHPCensor\Controller $this->view->perPage = $perPage; $this->layout->title = $project->getTitle(); + + $this->layout->subtitle = ''; if (!empty($this->view->environment)) { - $this->layout->subtitle = $this->view->environment; - } else { - $this->layout->subtitle = $this->view->branch; + $this->layout->subtitle = ' ' . $this->view->environment; + } elseif (!empty($this->view->branch)) { + $this->layout->subtitle = ' ' . $this->view->branch; } return $this->view->render(); diff --git a/src/PHPCensor/View/Home/ajax-dashboard-project.phtml b/src/PHPCensor/View/Home/ajax-dashboard-project.phtml index 892b8fa6..ff5cafee 100644 --- a/src/PHPCensor/View/Home/ajax-dashboard-project.phtml +++ b/src/PHPCensor/View/Home/ajax-dashboard-project.phtml @@ -98,6 +98,13 @@ if ($buildCount > 0) { +
+ getAllowPublicStatus()): ?> + + + + +
()
diff --git a/src/PHPCensor/View/Home/dashboard-projects.phtml b/src/PHPCensor/View/Home/dashboard-projects.phtml index 764b7936..ca3718a6 100644 --- a/src/PHPCensor/View/Home/dashboard-projects.phtml +++ b/src/PHPCensor/View/Home/dashboard-projects.phtml @@ -99,6 +99,13 @@ foreach($projects as $project): +
+ getAllowPublicStatus()): ?> + + + + +
(getId()]; ?>)