Set location title to link text on the schedule

This commit is contained in:
Godwin 2017-08-22 12:24:08 -07:00 committed by GitHub
parent 89009d5a93
commit 93ecda55fe

View File

@ -15,7 +15,7 @@
%tr %tr
%th.corner %th.corner
- data[:locations].each do |id, location| - data[:locations].each do |id, location|
%th.location-header=location.is_a?(Symbol) ? '' : location_link(location) %th.location-header=location.is_a?(Symbol) ? '' : location_link(location, :title)
%tbody %tbody
- data[:times].each do |time, time_data| - data[:times].each do |time, time_data|
%tr{class: "row-type-#{time_data[:type] || 'nil'}"} %tr{class: "row-type-#{time_data[:type] || 'nil'}"}