aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/referentials
diff options
context:
space:
mode:
authorGuillaume2017-09-28 10:35:52 +0200
committerGuillaume2017-09-28 10:35:52 +0200
commitb84188abb33417a24274fc3ba179b6eb2ba8a067 (patch)
tree81fea7c0aae31e65e85190de86d266fae17c24e7 /app/views/referentials
parent28a42fb19174eafee38fe3c5f8fa58f89991f44a (diff)
downloadchouette-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.slim2
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, \