diff options
| author | jpl | 2017-04-21 17:18:39 +0200 |
|---|---|---|
| committer | Robert | 2017-04-24 09:03:11 +0200 |
| commit | f676cb9fe59b3a3f38ca1feb8ae71bca8f127095 (patch) | |
| tree | 0fce4e6b8186ac1e693cc90f7ef229c9fac7ea53 | |
| parent | a5a6f717d8ad517b2f847c54e9b61cd92c1d0337 (diff) | |
| download | chouette-core-f676cb9fe59b3a3f38ca1feb8ae71bca8f127095.tar.bz2 | |
Refs #3157: adding 'activated' column to line_referentials
| -rw-r--r-- | app/views/lines/index.html.slim | 1 |
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)}") }, |
