Commit 7f1c527aa202fab9eb9f8bc0d99a06363f3817d1
Committed by
Paulo Meireles
1 parent
7fc83549
Exists in
master
and in
28 other branches
adding collumn titles in metric results table
Showing
2 changed files
with
7 additions
and
2 deletions
Show diff stats
plugins/mezuro/views/content_viewer/_module_result.rhtml
| @@ -9,6 +9,11 @@ | @@ -9,6 +9,11 @@ | ||
| 9 | <br/> | 9 | <br/> |
| 10 | <hr/> | 10 | <hr/> |
| 11 | <table id="project_metric_result"> | 11 | <table id="project_metric_result"> |
| 12 | + <tr> | ||
| 13 | + <th>Metric</th> | ||
| 14 | + <th>Value</th> | ||
| 15 | + <th>Threshold</th> | ||
| 16 | + </tr> | ||
| 12 | <% module_result.metric_results.each do |metric_result| %> | 17 | <% module_result.metric_results.each do |metric_result| %> |
| 13 | <tr> | 18 | <tr> |
| 14 | <td><%= metric_result.metric.name %></td> | 19 | <td><%= metric_result.metric.name %></td> |
| @@ -18,4 +23,4 @@ | @@ -18,4 +23,4 @@ | ||
| 18 | </tr> | 23 | </tr> |
| 19 | 24 | ||
| 20 | <% end %> | 25 | <% end %> |
| 21 | -</table> | ||
| 22 | \ No newline at end of file | 26 | \ No newline at end of file |
| 27 | +</table> |
plugins/mezuro/views/content_viewer/_source_tree.rhtml
| 1 | <% if source_tree.children && !source_tree.children.empty? %> | 1 | <% if source_tree.children && !source_tree.children.empty? %> |
| 2 | - <table> | 2 | + <table> |
| 3 | <tr> | 3 | <tr> |
| 4 | <td width='10%'> | 4 | <td width='10%'> |
| 5 | <img id='<%= source_tree.module_name %>_plus' onclick="toogle('<%= source_tree.module_name %>')" | 5 | <img id='<%= source_tree.module_name %>_plus' onclick="toogle('<%= source_tree.module_name %>')" |