diff options
| author | Guillaume | 2017-09-28 10:35:52 +0200 | 
|---|---|---|
| committer | Guillaume | 2017-09-28 10:35:52 +0200 | 
| commit | b84188abb33417a24274fc3ba179b6eb2ba8a067 (patch) | |
| tree | 81fea7c0aae31e65e85190de86d266fae17c24e7 /app/views/referentials | |
| parent | 28a42fb19174eafee38fe3c5f8fa58f89991f44a (diff) | |
| download | chouette-core-b84188abb33417a24274fc3ba179b6eb2ba8a067.tar.bz2 | |
add helper for line_status with picto
Diffstat (limited to 'app/views/referentials')
| -rw-r--r-- | app/views/referentials/show.html.slim | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/views/referentials/show.html.slim b/app/views/referentials/show.html.slim index e1d89cba4..0fdd79e14 100644 --- a/app/views/referentials/show.html.slim +++ b/app/views/referentials/show.html.slim @@ -58,7 +58,7 @@                ), \                TableBuilderHelper::Column.new( \                  key: :deactivated, \ -                attribute: Proc.new { |n| n.deactivated? ? t('false') : t('true') } \ +                attribute: Proc.new { |n| line_status(n.deactivated?) } \                ), \                TableBuilderHelper::Column.new( \                  key: :transport_mode, \ | 
