aboutsummaryrefslogtreecommitdiffstats
path: root/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr
diff options
context:
space:
mode:
authorLuji7 <lu.ji3@zte.com.cn>2016-11-01 11:00:59 +0800
committerLuji <lu.ji3@zte.com.cn>2016-11-01 06:19:10 +0000
commit75082c7506770afdfef02c749f445000bfe798e0 (patch)
tree20d5e34a04057f6a101c31b8bd92afcec7990c0c /openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr
parent14a7bcff7da853ac073373b1efa0825e7cb366b7 (diff)
Issue-Id: GSO-80 display name instead of description
Change-Id: I73f84201c351006cf36335f40a3e538e43d48c17 Signed-off-by: Luji7 <lu.ji3@zte.com.cn> (cherry picked from commit eddce5734bea59107dd12a08989e0fc825b498ac)
Diffstat (limited to 'openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr')
-rw-r--r--openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js
index eb667968..ed8eb59a 100644
--- a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js
+++ b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js
@@ -385,7 +385,7 @@ function transformToComponents(templateParas) {
function generateComboxComponent(inputPara, items) {
var component = '<div class="form-group" style="margin-left:25px;margin-bottom:15px;">' +
'<label class="col-sm-3 control-label">' +
- '<span>'+ inputPara.description +'</span>' +
+ '<span>'+ inputPara.name +'</span>' +
'<span class="required">*</span>' +
'</label>' +
'<div class="col-sm-7">' +
@@ -409,11 +409,11 @@ function transformToOptions(items) {
function generateComponent(inputPara) {
var component = '<div class="mT15 form-group" style="margin-left:25px;">' +
'<label class="col-sm-3 control-label">' +
- '<span>' + inputPara.description + '</span>' + generateRequiredLabel(inputPara) +
+ '<span>' + inputPara.name + '</span>' + generateRequiredLabel(inputPara) +
'</label>' +
'<div class="col-sm-7">' +
'<input type="text" id="' + inputPara.id + '" name="parameter description" class="form-control" placeholder="' +
- inputPara.description + '" value="' + inputPara.value + '" />' +
+ inputPara.name + '" value="' + inputPara.value + '" />' +
'</div></div>';
return component;
}