summaryrefslogtreecommitdiffstats
path: root/openo-portal/portal-lifecyclemgr
diff options
context:
space:
mode:
authorLuji7 <lu.ji3@zte.com.cn>2016-11-01 11:00:59 +0800
committerLuji7 <lu.ji3@zte.com.cn>2016-11-01 11:00:59 +0800
commiteddce5734bea59107dd12a08989e0fc825b498ac (patch)
tree9055c1be397ef41e1fbe135e489eacdf1128cd9a /openo-portal/portal-lifecyclemgr
parentc84515972a58b8a0e1eb5707302651a9fab17d72 (diff)
Issue-Id: GSO-80 display name instead of description
Change-Id: I73f84201c351006cf36335f40a3e538e43d48c17 Signed-off-by: Luji7 <lu.ji3@zte.com.cn>
Diffstat (limited to 'openo-portal/portal-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 f17815cd..9105d5d6 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
@@ -387,7 +387,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">' +
@@ -411,11 +411,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;
}