aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/lines/index.html.slim1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/lines/index.html.slim b/app/views/lines/index.html.slim
index ce4930d92..d7b6be5c8 100644
--- a/app/views/lines/index.html.slim
+++ b/app/views/lines/index.html.slim
@@ -20,6 +20,7 @@
{ 'Oid' => Proc.new { |n| n.objectid.local_id },
:number => 'number',
:name => 'name',
+ :deactivated => Proc.new{|n| n.deactivated? ? t('false') : t('true')},
'networks.name' => Proc.new { |n| n.try(:network).try(:name) },
'companies.name' => Proc.new { |n| n.try(:company).try(:name) },
:transport_mode => Proc.new { |n| n.transport_mode.nil? ? '-' : t("enumerize.line.transport_mode.#{n.try(:transport_mode)}") },