Browse Source

Links to maps on schedule

development
Godwin 9 years ago
parent
commit
9ca712ebc7
  1. 4
      app/views/schedule/_programme.html.haml

4
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

Loading…
Cancel
Save