--- a/web/app/views/index/_compare_table.html.erb Tue Jun 25 23:35:43 2013 +0200
+++ b/web/app/views/index/_compare_table.html.erb Wed Jun 26 00:05:56 2013 +0200
@@ -5,19 +5,19 @@
<thead>
<tr>
<th>Měsíc</th>
- <% runtimes.each do |runtime| %>
- <th><%= runtime.name %></th>
+ <% benchmark_configurations.each do |benchmark_configuration| %>
+ <th><%= benchmark_configuration.name %></th>
<% end %>
</tr>
</thead>
<tbody>
- <% all_dates_when_performed(runtimes).each do |date| %>
+ <% all_dates_when_performed(benchmark_configurations).each do |date| %>
<tr>
<%= content_tag :th,
(make_chart ? date_to_millis(date) : t(date)),
'data-timestamp' => date_to_millis(date) %>
- <% runtimes.each do |runtime| %>
- <td><%= runtime.results_of(benchmark_info, date).try(:min_duration) %></td>
+ <% benchmark_configurations.each do |benchmark_configuration| %>
+ <td><%= benchmark_configuration.results_of(benchmark_info, date).try(:min_duration) %></td>
<% end %>
</tr>
<% end %>