Set location title to link text on the schedule (#263)

* Added optional text attribute to location link

* Set location title to link text on the schedule
This commit is contained in:
Godwin
2017-08-22 12:24:41 -07:00
committed by GitHub
parent 3d02e09807
commit 5f2add7f64
2 changed files with 7 additions and 3 deletions
@@ -15,7 +15,7 @@
%tr
%th.corner
- 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
- data[:times].each do |time, time_data|
%tr{class: "row-type-#{time_data[:type] || 'nil'}"}