[PATCH] Correct the ID String of Disk Size in Template Edit Window

It was "version" instead of "disk". Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com> --- ui/pages/template-edit.html.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/pages/template-edit.html.tmpl b/ui/pages/template-edit.html.tmpl index f00e4fc..7a1a6a8 100644 --- a/ui/pages/template-edit.html.tmpl +++ b/ui/pages/template-edit.html.tmpl @@ -73,10 +73,10 @@ </div> <div> <div class="template-edit-wrapper-label"> - <label>$_("Disk (GB)")</label> + <label for="template-edit-disk-textbox">$_("Disk (GB)")</label> </div> <div class="template-edit-wrapper-controls"> - <input id="template-edit-version-textbox" name="disks" type="text" /> + <input id="template-edit-disk-textbox" name="disks" type="text" /> </div> </div> </fieldset> -- 1.8.1.4

looks good for me But for CDROM label it is also "version" instead of "cdrom" can you also check the CDROM label? On 05/06/2014 03:32 PM, Hongliang Wang wrote:
It was "version" instead of "disk".
Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com> --- ui/pages/template-edit.html.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/pages/template-edit.html.tmpl b/ui/pages/template-edit.html.tmpl index f00e4fc..7a1a6a8 100644 --- a/ui/pages/template-edit.html.tmpl +++ b/ui/pages/template-edit.html.tmpl @@ -73,10 +73,10 @@ </div> <div> <div class="template-edit-wrapper-label"> - <label>$_("Disk (GB)")</label> + <label for="template-edit-disk-textbox">$_("Disk (GB)")</label> </div> <div class="template-edit-wrapper-controls"> - <input id="template-edit-version-textbox" name="disks" type="text" /> + <input id="template-edit-disk-textbox" name="disks" type="text" /> </div> </div> </fieldset>
-- Thanks and best regards! Sheldon Feng(冯少合)<shaohef@linux.vnet.ibm.com> IBM Linux Technology Center

On 05/06/2014 11:18 PM, Sheldon wrote:
looks good for me
But for CDROM label it is also "version" instead of "cdrom"
can you also check the CDROM label? Good point! Patch sent.
On 05/06/2014 03:32 PM, Hongliang Wang wrote:
It was "version" instead of "disk".
Signed-off-by: Hongliang Wang <hlwang@linux.vnet.ibm.com> --- ui/pages/template-edit.html.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/pages/template-edit.html.tmpl b/ui/pages/template-edit.html.tmpl index f00e4fc..7a1a6a8 100644 --- a/ui/pages/template-edit.html.tmpl +++ b/ui/pages/template-edit.html.tmpl @@ -73,10 +73,10 @@ </div> <div> <div class="template-edit-wrapper-label"> - <label>$_("Disk (GB)")</label> + <label for="template-edit-disk-textbox">$_("Disk (GB)")</label> </div> <div class="template-edit-wrapper-controls"> - <input id="template-edit-version-textbox" name="disks" type="text" /> + <input id="template-edit-disk-textbox" name="disks" type="text" /> </div> </div> </fieldset>
participants (2)
-
Hongliang Wang
-
Sheldon