]> git.proxmox.com Git - pve-manager.git/commit
fix #1358: ui: show clustername besides 'Datacenter' node, if available
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 16 Nov 2018 09:00:00 +0000 (10:00 +0100)
committerDominik Csapak <d.csapak@proxmox.com>
Mon, 19 Nov 2018 09:15:14 +0000 (10:15 +0100)
commit3d7b2aa9f4ec5cfbf9514923abbc324fe48e1eb7
tree4eea60901b806b579d4f306c8e215a045c410160
parenteb421b2c57f1b583c2778faa1015e0493582992c
fix #1358: ui: show clustername besides 'Datacenter' node, if available

If we get the cluster name (successful login with '/' Sys.Audit
permissions) then display it in the resource tree's root node.

This updated on login and all ticket refreshs (every 15 minutes).
I currently have no functionallity to refresh it actively on cluster
create over WebUI, as it's not a straight forward change there.
Further, this is something which does not changes often (in
production), and we cannot detect CLI or API triggered (from non-pve
clients) cluster creations anyway.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/Workspace.js
www/manager6/tree/ResourceTree.js