<%= distance_with_unit(@digest.distance, @distance_unit) %>
<%= distance_comparison_text(@digest.distance) %>
<% if @digest.yoy_distance_change %><%= yoy_change_text(@digest.yoy_distance_change) %> compared to <%= @digest.previous_year %>
<% end %><%= @digest.countries_count %>
<% if @digest.first_time_countries.any? %>New First time in: <%= @digest.first_time_countries.join(', ') %>
<% end %><%= @digest.cities_count %>
<% if @digest.first_time_cities.any? %>New <% cities_to_show = @digest.first_time_cities.take(5) %> First time in: <%= cities_to_show.join(', ') %> <% if @digest.first_time_cities.count > 5 %> and <%= @digest.first_time_cities.count - 5 %> more <% end %>
<% end %>Your Year, Month by Month
<%= image_tag attachments[@chart_image_name].url, alt: 'Monthly Distance Chart' %>-
<% @digest.top_countries_by_time.take(3).each do |country| %>
- <%= country['name'] %> <%= format_time_spent(country['minutes']) %> <% end %>