[pve-devel] [RFC manager 2/3] add tooltip texts for folder view
Dominik Csapak
d.csapak at proxmox.com
Wed Sep 14 12:19:29 CEST 2016
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/panel/ConfigPanel.js | 25 ++++++++++++++++++++-----
1 file changed, 20 insertions(+), 5 deletions(-)
diff --git a/www/manager6/panel/ConfigPanel.js b/www/manager6/panel/ConfigPanel.js
index fe1a7d1..e645904 100644
--- a/www/manager6/panel/ConfigPanel.js
+++ b/www/manager6/panel/ConfigPanel.js
@@ -167,11 +167,26 @@ Ext.define('PVE.panel.Config', {
if (!me.onlineHelp) {
switch(me.pveSelNode.data.id) {
- case 'type/storage':me.onlineHelp = 'chapter-pvesm.html'; break;
- case 'type/qemu':me.onlineHelp = 'chapter-qm.html'; break;
- case 'type/lxc':me.onlineHelp = 'chapter-pct.html'; break;
- case 'type/pool':me.onlineHelp = 'chapter-pveum.html#_pools'; break;
- case 'type/node':me.onlineHelp = 'chapter-sysadmin.html'; break;
+ case 'type/storage':
+ me.onlineHelp = 'chapter-pvesm.html';
+ me.onlineHelpTooltip = gettext('Storage');
+ break;
+ case 'type/qemu':
+ me.onlineHelp = 'chapter-qm.html';
+ me.onlineHelpTooltip = gettext('Virtual Machines');
+ break;
+ case 'type/lxc':
+ me.onlineHelp = 'chapter-pct.html';
+ me.onlineHelpTooltip = gettext('Container');
+ break;
+ case 'type/pool':
+ me.onlineHelp = 'chapter-pveum.html#_pools';
+ me.onlineHelpTooltip = gettext('Pools');
+ break;
+ case 'type/node':
+ me.onlineHelp = 'chapter-sysadmin.html';
+ me.onlineHelpTooltip = gettext('Node');
+ break;
}
}
--
2.1.4
More information about the pve-devel
mailing list