summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-03-02 12:16:35 -0600
committerGunnar Mills <gmills@us.ibm.com>2018-03-05 11:49:46 -0600
commite41f0b0bf50c026844c313a63e267c0d3bdafc14 (patch)
tree895d6b5903c8f3f5f31181d2ad3df9859497e7d2
parent607a120a7191c6a8122e747ebcc60c6eae890d85 (diff)
downloadphosphor-webui-e41f0b0bf50c026844c313a63e267c0d3bdafc14.tar.gz
phosphor-webui-e41f0b0bf50c026844c313a63e267c0d3bdafc14.zip
Remove "Ready" image boot priority arrows
Ready images do not have a priority. Priority is for "Active" images to determine which image to boot from. Only images on the GUI that are "Active" or "Functional" (on the GUI we call "Active" images that have the functional association "Functional") should have a Boot Priority. Tested: Verified no priority on Ready images. Change-Id: I5a527ed4bed9d686a746e3759f50fa9bb8b7988a Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
-rw-r--r--app/common/directives/firmware-list.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/common/directives/firmware-list.html b/app/common/directives/firmware-list.html
index 2afbf0a..40fd1ac 100644
--- a/app/common/directives/firmware-list.html
+++ b/app/common/directives/firmware-list.html
@@ -26,11 +26,11 @@
<span class="table__cell-label">Boot priority:</span>
<div class="icon icon__up-arrow" aria-hidden="true" ng-class="{'icon-as-spacer':$first}"
ng-click="!$first && changePriority(firmware.imageId, firmware.Version, firmware.Priority, firmware.Priority - 1)"
- ng-show="firmware.activationStatus == 'Functional' || firmware.activationStatus == 'Ready'">
+ ng-show="firmware.activationStatus == 'Functional' || firmware.activationStatus == 'Active'">
<span class="accessible-text">firmware up in priority</span></div>
<div class="icon icon__down-arrow" aria-hidden="true" ng-class="{'icon-as-spacer':$last}"
ng-click="!$last && changePriority(firmware.imageId, firmware.Version, firmware.Priority, firmware.Priority + 1)"
- ng-hide="firmware.activationStatus == 'Ready'">
+ ng-show="firmware.activationStatus == 'Functional' || firmware.activationStatus == 'Active'">
<span class="accessible-text">firmware down in priority</span></div>
</div>
<div class="table__cell firmware__active">
OpenPOWER on IntegriCloud