Skip to content

Commit

Permalink
Merge branch '0.6' into 0.6-fix-90-without-correct-answer
Browse files Browse the repository at this point in the history
  • Loading branch information
jleong-openedx committed Nov 2, 2016
2 parents 0db389c + 0f67761 commit 643beae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ubcpi/static/html/ubcpi.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ <h4 class="other-answer" ng-if="options[answer.option].text">Student Answer: {{o
</ul>

</div><!-- .others-responses -->

<span id="answer" ng-if="rc.status() == rc.ALL_STATUS.NEW && user_role == 'student'">

<ul style="background:#f8f8f8;border:2px solid #ddd;margin:1em 0;padding-top:.3em;text-transform:uppercase;">
<li style="display:inline-block;width:30%;text-align:center;font-weight:bold;color:#333;padding-top:.3em"><i class="fa fa-arrow-circle-down" style="font-size:1.4em;"></i></span><br>Answer</li>
<i class="fa fa-angle-double-right" style="color:#ddd;vertical-align:15%;font-size:2.2em"></i>
Expand Down Expand Up @@ -156,6 +158,7 @@ <h2 id="pi-question-h" class="question-text">Question</h2>
<section class="solution-span correct-answer-and-rationale" tabindex="-1" aria-labelledby="correct-option-head" role="region" auto-focus>

<div class="detailed-solution" id="detailed-solution">

<h2 id="correct-option-head" ng-if="options.length > rc.correct_answer">Correct Answer</h2>
<h2 id="correct-option-head" ng-if="!rc.correct_rationale.text"></h2>
<h2 id="correct-option-head" ng-if="options.length == rc.correct_answer && rc.correct_rationale.text">Rationale</h2>
Expand Down

0 comments on commit 643beae

Please sign in to comment.