Commit a7c014edfaa79d04b535e21fee021451f063f021
Committed by
Paulo Meireles
1 parent
bbf808b4
Exists in
master
and in
29 other branches
[Mezuro] Google Chart is working
Showing
3 changed files
with
6 additions
and
6 deletions
Show diff stats
plugins/mezuro/public/javascripts/project_content.js
@@ -22,7 +22,7 @@ function display_metric_history() { | @@ -22,7 +22,7 @@ function display_metric_history() { | ||
22 | } | 22 | } |
23 | 23 | ||
24 | function display_grade_history() { | 24 | function display_grade_history() { |
25 | - var module_name = jQuery(this).attr('show-grade-history'); | 25 | + var module_name = jQuery(this).attr('data-module-name'); |
26 | callAction('module_grade_history', {module_name: module_name}, show_grades); | 26 | callAction('module_grade_history', {module_name: module_name}, show_grades); |
27 | return false; | 27 | return false; |
28 | } | 28 | } |
plugins/mezuro/views/content_viewer/_module_result.rhtml
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | <h5><%= _('Metric results for: ') + module_label %> </h5> | 4 | <h5><%= _('Metric results for: ') + module_label %> </h5> |
5 | 5 | ||
6 | <hr/> | 6 | <hr/> |
7 | - | 7 | +<div class="zoomable-image"> |
8 | <table> | 8 | <table> |
9 | <thead> | 9 | <thead> |
10 | <tr> | 10 | <tr> |
@@ -43,7 +43,7 @@ | @@ -43,7 +43,7 @@ | ||
43 | <div id='historical-grade'></div> | 43 | <div id='historical-grade'></div> |
44 | </td> | 44 | </td> |
45 | <td colspan = "4" align = "right"> | 45 | <td colspan = "4" align = "right"> |
46 | - <a href="#" show-grade-history="<%= module_result.module.name %>" > | 46 | + <a href="#" show-grade-history="<%= module_result.module.name %>" data-module-name="<%= the_module.name%>" > |
47 | <strong> | 47 | <strong> |
48 | <%= _('Grade:') %> | 48 | <%= _('Grade:') %> |
49 | <%= "%.02f" % module_result.grade %> | 49 | <%= "%.02f" % module_result.grade %> |
@@ -53,3 +53,4 @@ | @@ -53,3 +53,4 @@ | ||
53 | </tr> | 53 | </tr> |
54 | </tfoot> | 54 | </tfoot> |
55 | </table> | 55 | </table> |
56 | +</div> |
plugins/mezuro/views/content_viewer/_score_history.rhtml