diff options
| author | Guillaume | 2017-11-29 14:03:35 +0100 |
|---|---|---|
| committer | Guillaume | 2017-11-29 14:03:35 +0100 |
| commit | 7e381cb823641e8e147b2d5ecc3be94aa5e63c44 (patch) | |
| tree | 3e7f61cc8dcf59ab6bdc5c3a3af00bafdf94d25c /app | |
| parent | cf8c8352bd4b5493c3e1cdfb8ea27c78ac9abab0 (diff) | |
| download | chouette-core-7e381cb823641e8e147b2d5ecc3be94aa5e63c44.tar.bz2 | |
Refs #4987 update compliance_control_check_set#show view4987-compliance_check-sets_show
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/compliance_check_sets/show.html.slim | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/app/views/compliance_check_sets/show.html.slim b/app/views/compliance_check_sets/show.html.slim index 659413b28..c9d0583a5 100644 --- a/app/views/compliance_check_sets/show.html.slim +++ b/app/views/compliance_check_sets/show.html.slim @@ -31,25 +31,17 @@ [ \ TableBuilderHelper::Column.new( \ key: :name, \ - attribute: 'name', \ - sortable: false, \ - #link_to: lambda do |compliance_check_set| \ - # compliance_check_set_path(compliance_check_set.referential) if compliance_check_set.referential.present? \ - #end \ + attribute: 'name' \ ), \ TableBuilderHelper::Column.new( \ key: :status, \ - attribute: Proc.new { |n| compliance_check_set_status(n.status) }, \ - sortable: false, \ - #link_to: lambda do |compliance_check_set| \ - # workbench_compliance_check_set_path(compliance_check_set.compliance_control_set_id, compliance_check_set) \ - #end \ + attribute: Proc.new { |n| compliance_check_set_status(n.status) } \ ), \ TableBuilderHelper::Column.new( \ key: :metrics, \ - attribute: 'metrics', \ - sortable: false, \ + attribute: Proc.new { |n| I18n.t('compliance_check_sets.show.metrics', n.metrics.deep_symbolize_keys) } \ ) \ ], + sortable: false, \ links: [], cls: 'table' |
