aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/lines
diff options
context:
space:
mode:
authorcedricnjanga2018-04-24 13:03:04 -0700
committercedricnjanga2018-04-24 13:03:04 -0700
commit9050f4dde351e27e2cf33df7d1a4bc3b694ac04c (patch)
treea7e0869d7b09604dbb463dc54d19f411ae726cd1 /app/views/lines
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/lines')
-rw-r--r--app/views/lines/show.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/lines/show.html.slim b/app/views/lines/show.html.slim
index b683b9be6..fae32fb5d 100644
--- a/app/views/lines/show.html.slim
+++ b/app/views/lines/show.html.slim
@@ -7,7 +7,7 @@
.col-lg-6.col-md-6.col-sm-12.col-xs-12
= definition_list t('metadatas'),
{ t('objectid') => @line.get_objectid.short_id,
- Chouette::Line.tmf(:state) => line_status(@line.deactivated),
+ Chouette::Line.tmf(:status) => line_status(@line.status),
Chouette::Line.tmf(:network_id) => (@line.network.nil? ? t('lines.index.unset') : @line.network.name),
Chouette::Line.tmf(:company_id) => (@line.company.nil? ? t('lines.index.unset') : @line.company.name),
Chouette::Line.tmf(:secondary_companies) => (@line.secondary_companies.nil? ? t('lines.index.unset') : array_to_html_list(@line.secondary_companies.collect(&:name))),