Commit 3fde094d17d249a8ba834ab145068c6873f24eba

Authored by Diego Camarinha
Committed by Paulo Meireles
1 parent 7760708a

Try to add weight collumn

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>