From e86c7a2a9aeb084db5a29b76df9ab50b7666e362 Mon Sep 17 00:00:00 2001 From: Pierre-Luc Dion Date: Sun, 8 Mar 2015 22:48:28 -0400 Subject: [PATCH] CLOUDSTACK-1359: add UI information about GB definition --- ui/scripts/docs.js | 6 +++++- ui/scripts/storage.js | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ui/scripts/docs.js b/ui/scripts/docs.js index 73c713f6f06..b7f2668d824 100755 --- a/ui/scripts/docs.js +++ b/ui/scripts/docs.js @@ -336,7 +336,7 @@ cloudStack.docs = { externalLink: '' }, helpDiskOfferingDiskSize: { - desc: 'Appears only if Custom Disk Size is not selected. Define the volume size in GB.', + desc: 'Appears only if Custom Disk Size is not selected. Define the volume size in GB. (1GB = 1,073,741,824 bytes)', externalLink: '' }, helpDiskOfferingDiskBytesReadRate: { @@ -1019,6 +1019,10 @@ cloudStack.docs = { desc: 'Choose the characteristics of the storage.', externalLink: '' }, + helpVolumeSizeGb: { + desc: 'Volume size in GB (1GB = 1,073,741,824 bytes)', + externalLink: '' + }, // Add VPC helpVPCName: { desc: 'A name for the new VPC', diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js index 7b4015328a4..ffef1924786 100644 --- a/ui/scripts/storage.js +++ b/ui/scripts/storage.js @@ -169,6 +169,7 @@ , diskSize: { label: 'label.disk.size.gb', + docID: 'helpVolumeSizeGb', validation: { required: true, number: true