Permalink
Browse files

MDL-42521 mod_feedback - Feedback does not show line graphs in Clean …

…theme
  • Loading branch information...
1 parent c9ee1a7 commit 3085f3395b92b331f2ae6ba488bf4204a605731a @grabs grabs committed Nov 3, 2013
Showing with 6 additions and 2 deletions.
  1. +1 −1 mod/feedback/item/multichoice/lib.php
  2. +1 −1 mod/feedback/item/multichoicerated/lib.php
  3. +4 −0 mod/feedback/styles.css
@@ -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>';
@@ -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;%)';
View
@@ -104,3 +104,7 @@ ul#feedback_draglist {
div#feedback_dragarea {
width:95%;
}
+
+div img.feedback_bar_image {
+ height: 10px;
+}

0 comments on commit 3085f33

Please sign in to comment.