summaryrefslogtreecommitdiffstats
path: root/app/common/services
diff options
context:
space:
mode:
authorIftekharul Islam <iffy.ryan@ibm.com>2018-03-20 11:15:17 -0500
committerGunnar Mills <gmills@us.ibm.com>2018-04-19 16:22:25 -0500
commit13ac3af40c33d1a6626aa5cb0f41f325ac7f20db (patch)
tree2e3e17652ce7b3fd2d3d58ef1ca4ed13f68ebb60 /app/common/services
parenta1d238f3a53db2ec3cc4c2fd52fe78738b37968b (diff)
downloadphosphor-webui-13ac3af40c33d1a6626aa5cb0f41f325ac7f20db.tar.gz
phosphor-webui-13ac3af40c33d1a6626aa5cb0f41f325ac7f20db.zip
Adding new button 'Normal' in sensors page
- Adding a 3rd option called Normal in addition to Critical and Warning based on the discussion in openbmc/openbmc#2750 Fixes openbmc/openbmc#2750 Tested: Verified the 'Normal' button works. Change-Id: Ied4d37aa9284392f08818f8111ebbcc677234586 Signed-off-by: Iftekharul Islam <iffy.ryan@ibm.com> Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'app/common/services')
-rw-r--r--app/common/services/constants.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/common/services/constants.js b/app/common/services/constants.js
index 21241da..57c5eb1 100644
--- a/app/common/services/constants.js
+++ b/app/common/services/constants.js
@@ -130,7 +130,8 @@ window.angular && (function (angular) {
SENSOR: {
NO_SENSOR_DATA: 'There are no sensors found.',
CRITICAL_NO_SENSOR_DATA: 'There are no sensors in Critical state.',
- WARNING_NO_SENSOR_DATA: 'There are no sensors in Warning state.'
+ WARNING_NO_SENSOR_DATA: 'There are no sensors in Warning state.',
+ NORMAL_NO_SENSOR_DATA: 'There are no sensors in Normal state.'
},
ERROR_MODAL: {
TITLE: 'Unexpected error',
OpenPOWER on IntegriCloud