aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/lines
diff options
context:
space:
mode:
authorZog2018-04-17 13:04:17 +0200
committerZog2018-04-17 13:04:17 +0200
commit6c0195c979ffd1391a7b00d1c02d211f9bf8b1df (patch)
tree6a20107d865647c216f83e63f77b0be1f2352fb5 /app/views/lines
parentde6edec5a85e2282f11b1eed0bd97fb5b6eaafe8 (diff)
downloadchouette-core-6c0195c979ffd1391a7b00d1c02d211f9bf8b1df.tar.bz2
Refs #6508; Uniformize lines show
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 9e1ae6d6f..d0a0d5442 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,
- @line.human_attribute_name(:deactivated) => (@line.deactivated? ? t('false') : t('true')),
+ @line.human_attribute_name(:state) => line_status(@line.deactivated),
@line.human_attribute_name(:network_id) => (@line.network.nil? ? t('lines.index.unset') : @line.network.name),
@line.human_attribute_name(:company_id) => (@line.company.nil? ? t('lines.index.unset') : @line.company.name),
@line.human_attribute_name(:secondary_companies) => (@line.secondary_companies.nil? ? t('lines.index.unset') : array_to_html_list(@line.secondary_companies.collect(&:name))),