aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/time_tables/index.html.slim
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/time_tables/index.html.slim')
-rw-r--r--app/views/time_tables/index.html.slim6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/time_tables/index.html.slim b/app/views/time_tables/index.html.slim
index 6913712a0..e61548690 100644
--- a/app/views/time_tables/index.html.slim
+++ b/app/views/time_tables/index.html.slim
@@ -28,14 +28,14 @@
end \
), \
TableBuilderHelper::Column.new( \
+ key: :bounding_dates, \
name: "Période englobante", \
- attribute: Proc.new { |tt| tt.bounding_dates.empty? ? '-' : t('bounding_dates', debut: l(tt.bounding_dates.min), end: l(tt.bounding_dates.max)) }, \
- sortable: false \
+ attribute: Proc.new { |tt| p tt; tt.object.bounding_dates.empty? ? '-' : t('bounding_dates', debut: l(tt.object.bounding_dates.min), end: l(tt.object.bounding_dates.max)) }, \
), \
TableBuilderHelper::Column.new( \
+ key: :vehicle_journeys_count, \
name: "Nombre de courses associées", \
attribute: Proc.new{ |tt| tt.vehicle_journeys.count }, \
- sortable: false \
), \
TableBuilderHelper::Column.new( \
name: "Journées d'application", \