Commit 3fde094d17d249a8ba834ab145068c6873f24eba
Committed by
Paulo Meireles
1 parent
7760708a
Exists in
master
and in
22 other branches
Try to add weight collumn
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
plugins/mezuro/views/content_viewer/_module_result.rhtml
| 1 | +<!-- ToDo --> | ||
| 1 | <h5><%= _('Metric Result') %> </h5> | 2 | <h5><%= _('Metric Result') %> </h5> |
| 2 | <strong> | 3 | <strong> |
| 3 | <%= _('Module:') %> | 4 | <%= _('Module:') %> |
| @@ -10,6 +11,7 @@ | @@ -10,6 +11,7 @@ | ||
| 10 | <tr> | 11 | <tr> |
| 11 | <th>Metric</th> | 12 | <th>Metric</th> |
| 12 | <th>Value</th> | 13 | <th>Value</th> |
| 14 | + <!-- <th>Weight</th> --> | ||
| 13 | <th>Threshold</th> | 15 | <th>Threshold</th> |
| 14 | </tr> | 16 | </tr> |
| 15 | </thead> | 17 | </thead> |
| @@ -18,6 +20,7 @@ | @@ -18,6 +20,7 @@ | ||
| 18 | <tr> | 20 | <tr> |
| 19 | <td><%= metric_result.metric.name %></td> | 21 | <td><%= metric_result.metric.name %></td> |
| 20 | <td><%= metric_result.value %></td> | 22 | <td><%= metric_result.value %></td> |
| 23 | + <!-- <td><%= metric_result.weight %></td> --> | ||
| 21 | <% range = metric_result.range %> | 24 | <% range = metric_result.range %> |
| 22 | <td style="background-color: #<%= range.color[2..-1] %>"><%= range.label %></td> | 25 | <td style="background-color: #<%= range.color[2..-1] %>"><%= range.label %></td> |
| 23 | </tr> | 26 | </tr> |