diff --git a/app/views/schedule/_programme.html.haml b/app/views/schedule/_programme.html.haml index 75101b0..46c1fdd 100644 --- a/app/views/schedule/_programme.html.haml +++ b/app/views/schedule/_programme.html.haml @@ -15,7 +15,9 @@ %th=I18n.l(Date.today + t.hours, :format => :short) - day_schedule[:locations].each do |location, location_schedule| %tr - %th=locations[location.to_s].title + %th + %a{href: "https://maps.google.com/maps?q=#{URI.escape(locations[location.to_s].address.gsub(/\s+/, '+'))}", target: :_blank} + =locations[location.to_s].title - skip = 0 - (times.first...times.last).step(0.5).each do |t| - t = t.to_i if t == t.to_i