From 779f8b70e724d1c41281e980dcaba37617420ad2 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Sun, 16 Nov 2014 23:29:48 +0000 Subject: [PATCH] Component now has a humanStatus attribute --- app/models/Component.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/models/Component.php b/app/models/Component.php index 2949a078..094cb279 100644 --- a/app/models/Component.php +++ b/app/models/Component.php @@ -1,5 +1,12 @@ status) { + case 1: return 'Operational'; + case 2: return 'Performance Issues'; + case 3: return 'Partial Outage'; + case 4: return 'Major Outage'; + } + } }