]> git.proxmox.com Git - pve-manager.git/commit
gui: tree: add lock information to tooltips
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 10 Jun 2019 17:04:10 +0000 (19:04 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 13 Jun 2019 19:28:53 +0000 (21:28 +0200)
commit82a33d4ef7fa2011e468aee6a4d266ee23e5927c
treeaf4d9f7b60592bc9eba71c6cfc98af47a01366e8
parent3cc3b67d8b3b3aa557fa5f399c89239248bf5258
gui: tree: add lock information to tooltips

This was already proposed by Dominik[0], but it was was wished for a
faster backend backing of this[1], and as with most wishes one needs
to either be content with what's there or (try) to improve it one
self.. So with the IPCC approach proposed as backing for this I'd
like to add this again. It differs from [0] a bit, first it's rebased
as parts of the tooltip stuff got already applied[2].

I use "Config locked (<LOCK>)" as text for this, as it
1. Clarifies what the lock symbol means, which is always a good thing
   for tooltips
2. repeating the lock symbol here again would show the users three
   lock symbols at the same time if the VM was selected in the tree
   (the tree one, the VM config panel one, and this tool tip one)
   this is a bit much, so don't do it.

[0]: https://pve.proxmox.com/pipermail/pve-devel/2019-February/035829.html
[1]: https://pve.proxmox.com/pipermail/pve-devel/2019-March/035930.html
[2]: https://pve.proxmox.com/pipermail/pve-devel/2019-March/036165.html

Co-developed-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/tree/ResourceTree.js