Skip to content

Commit

Permalink
MDL-42521 mod_feedback - Feedback does not show line graphs in Clean …
Browse files Browse the repository at this point in the history
…theme
  • Loading branch information
grabs committed Nov 3, 2013
1 parent 5386f0b commit 73bbdce
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mod/feedback/item/multichoice/lib.php
Expand Up @@ -251,7 +251,7 @@ public function print_analysed($item, $itemnr = '', $groupid = false, $courseid
-  '.trim($val->answertext).':
</td>
<td align="left" style="width:'.FEEDBACK_MAX_PIX_LENGTH.';">
<img alt="'.$intvalue.'" src="'.$pix.'" height="5" width="'.$pixwidth.'" />
<img class="feedback_bar_image" alt="'.$intvalue.'" src="'.$pix.'" height="5" width="'.$pixwidth.'" />
&nbsp;'.$val->answercount.$str_quotient.'
</td>';
echo '</tr>';
Expand Down
2 changes: 1 addition & 1 deletion mod/feedback/item/multichoicerated/lib.php
Expand Up @@ -223,7 +223,7 @@ public function print_analysed($item, $itemnr = '', $groupid = false, $courseid
echo '<td align="left" valign="top">';
echo '-&nbsp;&nbsp;'.trim($val->answertext).' ('.$val->value.'):</td>';
echo '<td align="left" style="width: '.FEEDBACK_MAX_PIX_LENGTH.'">';
echo '<img alt="'.$intvalue.'" src="'.$pix.'" height="5" width="'.$pixwidth.'" />';
echo '<img class="feedback_bar_image" alt="'.$intvalue.'" src="'.$pix.'" height="5" width="'.$pixwidth.'" />';
echo $val->answercount;
if ($val->quotient > 0) {
echo '&nbsp;('.$quotient.'&nbsp;%)';
Expand Down
4 changes: 4 additions & 0 deletions mod/feedback/styles.css
Expand Up @@ -104,3 +104,7 @@ ul#feedback_draglist {
div#feedback_dragarea {
width:95%;
}

div img.feedback_bar_image {
height: 10px;
}

0 comments on commit 73bbdce

Please sign in to comment.