diff --git a/app/controllers/HomeController.php b/app/controllers/HomeController.php index 9c0822e2..b09daa15 100644 --- a/app/controllers/HomeController.php +++ b/app/controllers/HomeController.php @@ -1,6 +1,10 @@ status) { case 1: return 'Operational'; @@ -10,6 +14,10 @@ } } + /** + * Color of the label for each status. + * @return string HTML class name + */ public function getColorAttribute() { switch ($this->status) { case 1: return 'text-success';