diff options
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' |
