Skip to content

Commit

Permalink
SAM-3140 Regression: Question Pool Properties missing in Edit Question (
Browse files Browse the repository at this point in the history
sakaiproject#3890)

Pool screen
  • Loading branch information
alejandrogj authored and juanjmerono committed Feb 10, 2017
1 parent 375cf41 commit d3c5013
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions samigo/samigo-app/src/webapp/jsf/questionpool/editPool.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function textCounter(field, maxlimit) {
<div class="form-group row">
<h:outputLabel for="namefield" value="#{questionPoolMessages.p_name}" styleClass="col-sm-2 form-control-label"/>
<div class="col-sm-6">
<h:inputText readonly="#{questionpool.importToAuthoring == 'true' || questionpool.owner!=questionpool.currentPool.owner}" onchange="inIt()" id="namefield" size="30" maxlength="255" value="#{questionpool.currentPool.displayName}" />
<h:inputText readonly="#{questionpool.importToAuthoring == 'true' || questionpool.owner!=questionpool.currentPool.owner}" onchange="inIt()" id="namefield" size="30" maxlength="255" value="#{questionpool.currentPool.displayName}" styleClass="form-control"/>
</div>
</div>
<div class="form-group row">
Expand All @@ -111,18 +111,16 @@ function textCounter(field, maxlimit) {
<h:outputText id="ownerfield" value="#{questionpool.currentPool.owner}"/>
</div>
</div>
<h:panelGroup layout="block" rendered="!#{questionpool.currentPool.showParentPools}" styleClass="form-group row">
<h:outputLabel rendered="!#{questionpool.currentPool.showParentPools}"
for="orgfield" value="#{questionPoolMessages.dept}" styleClass="col-sm-2 form-control-label"/>
<h:panelGroup layout="block" styleClass="form-group row">
<h:outputLabel for="orgfield" value="#{questionPoolMessages.dept}" styleClass="col-sm-2 form-control-label"/>
<div class="col-sm-6">
<h:inputText readonly="#{questionpool.importToAuthoring == 'true' || questionpool.owner!=questionpool.currentPool.owner}" onchange="inIt()" id="orgfield" size="30" maxlength="255" value="#{questionpool.currentPool.organizationName}" rendered="!#{questionpool.currentPool.showParentPools}"/>
<h:inputText readonly="#{questionpool.importToAuthoring == 'true' || questionpool.owner!=questionpool.currentPool.owner}" onchange="inIt()" id="orgfield" size="30" maxlength="255" value="#{questionpool.currentPool.organizationName}" styleClass="form-control"/>
</div>
</h:panelGroup>
<h:panelGroup layout="block" rendered="!#{questionpool.currentPool.showParentPools}" styleClass="form-group row">
<h:outputLabel rendered="!#{questionpool.currentPool.showParentPools}" for="descfield"
value="#{questionPoolMessages.desc}" styleClass="col-sm-2 form-control-label"/>
<h:panelGroup layout="block" styleClass="form-group row">
<h:outputLabel for="descfield" value="#{questionPoolMessages.desc}" styleClass="col-sm-2 form-control-label"/>
<div class="col-sm-6">
<h:inputTextarea readonly="#{questionpool.importToAuthoring == 'true' || questionpool.owner!=questionpool.currentPool.owner}" onchange="inIt();textCounter(this,255);" id="descfield" rendered="!#{questionpool.currentPool.showParentPools}" value="#{questionpool.currentPool.description}" cols="40" rows="6"
<h:inputTextarea readonly="#{questionpool.importToAuthoring == 'true' || questionpool.owner!=questionpool.currentPool.owner}" onchange="inIt();textCounter(this,255);" id="descfield" value="#{questionpool.currentPool.description}" cols="40" rows="6"
onblur="textCounter(this,255);"
onclick="textCounter(this,255);"
ondblclick="textCounter(this,255);"
Expand All @@ -136,18 +134,16 @@ function textCounter(field, maxlimit) {
/>
</div>
</h:panelGroup>
<h:panelGroup layout="block" rendered="!#{questionpool.currentPool.showParentPools}" styleClass="form-group row">
<h:outputLabel for="objfield" value="#{questionPoolMessages.obj}"
rendered="!#{questionpool.currentPool.showParentPools}" styleClass="col-sm-2 form-control-label"/>
<h:panelGroup layout="block" styleClass="form-group row">
<h:outputLabel for="objfield" value="#{questionPoolMessages.obj}" styleClass="col-sm-2 form-control-label"/>
<div class="col-sm-6">
<h:inputText readonly="#{questionpool.importToAuthoring == 'true' || questionpool.owner!=questionpool.currentPool.owner}" onchange="inIt()" id="objfield" size="30" maxlength="255" value="#{questionpool.currentPool.objectives}" rendered="!#{questionpool.currentPool.showParentPools}"/>ç
<h:inputText readonly="#{questionpool.importToAuthoring == 'true' || questionpool.owner!=questionpool.currentPool.owner}" onchange="inIt()" id="objfield" size="30" maxlength="255" value="#{questionpool.currentPool.objectives}" styleClass="form-control"/>
</div>
</h:panelGroup>
<h:panelGroup layout="block" rendered="!#{questionpool.currentPool.showParentPools}" styleClass="form-group row">
<h:outputLabel for="keyfield" value="#{questionPoolMessages.keywords}"
rendered="!#{questionpool.currentPool.showParentPools}" styleClass="col-sm-2 form-control-label"/>
<h:panelGroup layout="block" styleClass="form-group row">
<h:outputLabel for="keyfield" value="#{questionPoolMessages.keywords}" styleClass="col-sm-2 form-control-label"/>
<div class="col-sm-6">
<h:inputText readonly="#{questionpool.importToAuthoring == 'true' || questionpool.owner!=questionpool.currentPool.owner}" onchange="inIt()" id="keyfield" size="30" maxlength="255" value="#{questionpool.currentPool.keywords}" rendered="!#{questionpool.currentPool.showParentPools}" />
<h:inputText readonly="#{questionpool.importToAuthoring == 'true' || questionpool.owner!=questionpool.currentPool.owner}" onchange="inIt()" id="keyfield" size="30" maxlength="255" value="#{questionpool.currentPool.keywords}" styleClass="form-control"/>
</div>
</h:panelGroup>

Expand Down

0 comments on commit d3c5013

Please sign in to comment.