lib/templates/awesome/hotspots.html.erb in metric_fu-2.0.0 vs lib/templates/awesome/hotspots.html.erb in metric_fu-2.0.1
- old
+ new
@@ -7,12 +7,12 @@
<% elsif @hotspots && @hotspots.size > 0 %>
<% granularities = [:files, :classes, :methods] %>
<table>
<tr valign="top">
-<% granularities.each do |granularity| %>
- <th width='33%'>
+<% granularities.each do |granularity| %>
+ <th width='33%'>
<%= granularity.to_s.capitalize %></th>
<% end %>
</tr>
<% items = [] %>
@@ -22,11 +22,11 @@
<% end %>
<% items_length = 0 %>
<% columns = [0, 1, 2] %>
<% while (items_length < items[0].length || items_length < items[1].length || items_length < items[2].length) do %>
- <tr valign="top">
+ <tr valign="top">
<% columns.each do |column| %>
<% item = items[column].length >= items_length ? items[column][items_length] : nil %>
<% if item %>
<td>
<b>
@@ -49,6 +49,6 @@
</table>
<% end %>
-<p>Generated on <%= Time.now.localtime %></p>
+<p>Generated on <%= Time.now.localtime %></p>