diff options
| author | jpl | 2017-03-03 11:59:26 +0100 | 
|---|---|---|
| committer | jpl | 2017-03-03 11:59:26 +0100 | 
| commit | ece023e308b97d9062d2ec6bf242b1e50188e1df (patch) | |
| tree | fba7c42a0f4c2406b7da7db2c91066824a8119b6 /app/views/referentials | |
| parent | b2e981ab9980898686c7a80ac24c7c4f18b8b335 (diff) | |
| download | chouette-core-ece023e308b97d9062d2ec6bf242b1e50188e1df.tar.bz2 | |
updating tables+metas attributes display
Diffstat (limited to 'app/views/referentials')
| -rw-r--r-- | app/views/referentials/show.html.slim | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/referentials/show.html.slim b/app/views/referentials/show.html.slim index 8f2e7a8fd..fa89b220d 100644 --- a/app/views/referentials/show.html.slim +++ b/app/views/referentials/show.html.slim @@ -55,8 +55,10 @@          .col-lg-12            / ID Codif, nom court, nom de la ligne, réseau, mode, transporteur principal, actions = [show, edit_notes]            = table_builder @reflines, -            { 'ID Codif' => Proc.new { |n| n.objectid.local_id }, @reflines.human_attribute_name(:registration_number) => 'registration_number', +            { 'ID Codif' => Proc.new { |n| n.objectid.local_id }, +            'Nom court' => 'number',              @reflines.human_attribute_name(:name) => 'name', +            'Activé' => Proc.new{|n| n.deactivated? ? t('false') : t('true')},              @reflines.human_attribute_name(:transport_mode) => 'transport_mode',              @reflines.human_attribute_name(:network) => Proc.new { |n| n.try(:network).try(:name) },              @reflines.human_attribute_name(:company) => Proc.new { |n| n.try(:company).try(:name) } },  | 
