Commit 26c866839e5ba2b1c045655dfdc7c4323cd9be6e

Authored by Carlos Morais + Eduardo Morais
Committed by Carlos Morais
1 parent b389645b

[mezuro] Range comments when threre is no range

plugins/mezuro/views/content_viewer/_module_result.rhtml
... ... @@ -29,7 +29,7 @@
29 29 </tr>
30 30 <tr class="<%= metric_result.metric.name.delete("() ")%>" style="display: none;">
31 31 <td colspan="4" align="right">
32   - <%= range.comments.nil? ? 'comment empty' : range.comments %>
  32 + <%= range.nil? or range.comments.nil? ? 'comment empty' : range.comments %>
33 33 </td>
34 34 </tr>
35 35 <% end %>
... ...