aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/routes
diff options
context:
space:
mode:
authorcedricnjanga2018-04-24 13:03:04 -0700
committercedricnjanga2018-04-24 13:03:04 -0700
commit9050f4dde351e27e2cf33df7d1a4bc3b694ac04c (patch)
treea7e0869d7b09604dbb463dc54d19f411ae726cd1 /app/views/routes
parent1f8d2759c545e60ab2989fc6331e55e95a3b0e67 (diff)
downloadchouette-core-9050f4dde351e27e2cf33df7d1a4bc3b694ac04c.tar.bz2
Refs #6431 Add small changes on stop area & line status display to have the same logic
Diffstat (limited to 'app/views/routes')
-rw-r--r--app/views/routes/show.html.slim5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/routes/show.html.slim b/app/views/routes/show.html.slim
index d4571c173..aea824a89 100644
--- a/app/views/routes/show.html.slim
+++ b/app/views/routes/show.html.slim
@@ -34,8 +34,9 @@
end \
), \
TableBuilderHelper::Column.new( \
- name: Chouette::Line.tmf('activated'), \
- attribute: Proc.new { |s| line_status(s.try(:stop_area).deleted_at) } \
+ key: :status, \
+ name: Chouette::StopArea.tmf('status'), \
+ attribute: Proc.new { |s| stop_area_status(s.try(:stop_area)) } \
), \
TableBuilderHelper::Column.new( \
key: :zip_code, \