From 002236e489047508e8483034f42981c9fbad1f04 Mon Sep 17 00:00:00 2001 From: Pierre-Luc Dion Date: Sat, 7 Mar 2015 23:59:27 -0500 Subject: [PATCH] CLOUDSTACK-2100: vm snapshot tooltips --- ui/scripts/docs.js | 10 ++++++++++ ui/scripts/instances.js | 3 +++ 2 files changed, 13 insertions(+) diff --git a/ui/scripts/docs.js b/ui/scripts/docs.js index 2712f859664..73c713f6f06 100755 --- a/ui/scripts/docs.js +++ b/ui/scripts/docs.js @@ -300,6 +300,16 @@ cloudStack.docs = { helpComputeOfferingDomain: { desc: 'The domain to associate this compute offering with' }, + // Create Instance Snapshot + helpCreateInstanceSnapshotName: { + desc: 'Give the snapshot a name. A unique name will be automatically generated if you leave this blank' + }, + helpCreateInstanceSnapshotDescription: { + desc: 'A short description of for the snapshot' + }, + helpCreateInstanceSnapshotMemory: { + desc: 'Check this to include CPU/memory state. Does not quiesce the VM. If not checked, the snapshot contain only volumes.' + }, // Add disk offering helpDiskOfferingName: { desc: 'Any desired name for the offering', diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js index 6bba2138bb0..de0cff733cb 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -31,14 +31,17 @@ fields: { name: { label: 'label.name', + docID: 'helpCreateInstanceSnapshotName', isInput: true }, description: { label: 'label.description', + docID: 'helpCreateInstanceSnapshotDescription', isTextarea: true }, snapshotMemory: { label: 'label.vmsnapshot.memory', + docID: 'helpCreateInstanceSnapshotMemory', isBoolean: true, isChecked: false, isHidden: function(args) {