aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/compliance_check_sets
diff options
context:
space:
mode:
authorTeddy Wing2018-01-25 15:27:07 +0100
committerZog2018-01-25 17:19:22 +0100
commit6d682ae928eb89d083b05279ee0f6f97a3bebf23 (patch)
tree1e056cba7a1fda39399f9943af72fd8837ab670f /app/views/compliance_check_sets
parent9f6c7a5372d960eea49f5428975d7a92f6f91d33 (diff)
downloadchouette-core-6d682ae928eb89d083b05279ee0f6f97a3bebf23.tar.bz2
ComplianceCheckSetDecorator: Convert to new action links interface
Refs #5586
Diffstat (limited to 'app/views/compliance_check_sets')
-rw-r--r--app/views/compliance_check_sets/index.html.slim1
-rw-r--r--app/views/compliance_check_sets/show.html.slim13
2 files changed, 1 insertions, 13 deletions
diff --git a/app/views/compliance_check_sets/index.html.slim b/app/views/compliance_check_sets/index.html.slim
index f15e85bdd..ead467174 100644
--- a/app/views/compliance_check_sets/index.html.slim
+++ b/app/views/compliance_check_sets/index.html.slim
@@ -41,7 +41,6 @@
), \
],
sortable: true,
- links: [:show],
cls: 'table has-filter has-search'
- unless @compliance_check_sets.any?
.row.mt-xs
diff --git a/app/views/compliance_check_sets/show.html.slim b/app/views/compliance_check_sets/show.html.slim
index 4db2e805f..4df14ab06 100644
--- a/app/views/compliance_check_sets/show.html.slim
+++ b/app/views/compliance_check_sets/show.html.slim
@@ -1,15 +1,4 @@
-- breadcrumb :compliance_check_set, @workbench, @compliance_check_set
-/ PageHeader
-- content_for :page_header_content do
- .row
- .col-lg-12.text-right.mb-sm
- - @compliance_check_set.action_links.each do |link|
- = link_to link.href,
- method: link.method,
- data: link.data,
- class: 'btn btn-primary' do
- = link.content
-
+- breadcrumb :compliance_check_sets, @workbench, @compliance_check_set
- page_header_content_for @compliance_check_set
/ PageContent