Do not display the 'Last power operation' time
The 'Last power operation' time is incorrect. The time shown is
the last refresh time instead of the last time a power operation
was performed. We need to implement a REST call and back-end
support to get the correct time of the last power operation.
Change-Id: Ic81edf22bd3450b2558b66b7f911634122f86da0
Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.com>
diff --git a/app/server-control/controllers/power-operations-controller.html b/app/server-control/controllers/power-operations-controller.html
index 660330e..f0de309 100644
--- a/app/server-control/controllers/power-operations-controller.html
+++ b/app/server-control/controllers/power-operations-controller.html
@@ -4,7 +4,11 @@
<h1>Server power operations</h1>
<div class="power__current-status page-header">
<h2 class="inline h4">Current status</h2>
+ <!-- TODO: openbmc/openbmc#2957 display correct last power
+ operation time, need REST call.
+
<div class="power__status-log inline float-right">Last power operation at <span class="courier-bold">{{dataService.last_updated |date:'h:mm:ss on MMM dd yyyy'}}</span></div>
+ -->
</div>
</div>
<div class="row column">