[pve-devel] [PATCH manager] pending changes: switch to orange and anotate with '(pending)'
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Aug 31 10:52:47 CEST 2017
red is normally strongly associated with errors, put pending changes
are not errors.
Tus use proxmox orange, to not scare (new) users and annotate the
pending entry with '(pending)' to make it easier to see what
happens.
---
www/manager6/grid/PendingObjectGrid.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/manager6/grid/PendingObjectGrid.js b/www/manager6/grid/PendingObjectGrid.js
index d5702f2e..aa3aa488 100644
--- a/www/manager6/grid/PendingObjectGrid.js
+++ b/www/manager6/grid/PendingObjectGrid.js
@@ -64,7 +64,7 @@ Ext.define('PVE.grid.PendingObjectGrid', {
}
if (pending || pendingdelete) {
- return current + '<div style="color:red">' + (pending || '') + pendingdelete + '</div>';
+ return current + '<div style="color:#e57000">' + (pending || '') + pendingdelete + ' (pending)</div>';
} else {
return current;
}
--
2.11.0
More information about the pve-devel
mailing list