Skip to content

Commit

Permalink
SAM-2858 "Display Point Value" option is missing from some question (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrogj authored and juanjmerono committed Oct 5, 2016
1 parent 0a6667e commit cbfd177
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
9 changes: 9 additions & 0 deletions samigo/samigo-app/src/webapp/jsf/author/item/fileUpload.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@
<h:message for="answerptr" styleClass="validate"/><br/>
</div>
</div>
<div class="form-group row">
<h:outputLabel value="#{authorMessages.answer_point_value_display}" styleClass="col-md-2 form-control-label"/>
<div class="col-md-5 samigo-inline-radio">
<h:selectOneRadio value="#{itemauthor.currentItem.itemScoreDisplayFlag}" >
<f:selectItem itemValue="true" itemLabel="#{authorMessages.yes}" />
<f:selectItem itemValue="false" itemLabel="#{authorMessages.no}" />
</h:selectOneRadio>
</div>
</div>

<!-- 1.2 Min POINTS
Ths is commented out since it doesn't make sense to have a min value for a question that doesn't automatically calculate a score
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,16 @@
</div>
<br/>

<div class="form-group row">
<h:outputLabel value="#{authorMessages.answer_point_value_display}" styleClass="col-md-2 form-control-label"/>
<div class="col-md-5 samigo-inline-radio">
<h:selectOneRadio value="#{itemauthor.currentItem.itemScoreDisplayFlag}" >
<f:selectItem itemValue="true" itemLabel="#{authorMessages.yes}" />
<f:selectItem itemValue="false" itemLabel="#{authorMessages.no}" />
</h:selectOneRadio>
</div>
</div>

<!-- 2 TEXT -->
<div class="form-group row">
<h:outputLabel value="#{authorMessages.q_text}" styleClass="col-md-4 col-lg-2 form-control-label"/>
Expand Down

0 comments on commit cbfd177

Please sign in to comment.