<% cal_data = prepare_heatmap(data, from, to) %>
<% cal_data[:months].each do |month| %> <%= t("date.abbr_month_names")[((month - 1) % 12) + 1] %> <% end %> <% (0..6).each do |day| %> <%= t("date.abbr_day_names")[day] %> <% end %> <% cal_data[:days].each do |day| %> <% if day[:total_changes] == 0 %> <% else %> <% end %> <% end %>