aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/imports/index.html.slim
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/imports/index.html.slim')
-rw-r--r--app/views/imports/index.html.slim9
1 files changed, 2 insertions, 7 deletions
diff --git a/app/views/imports/index.html.slim b/app/views/imports/index.html.slim
index 35cd666b1..79452bbfc 100644
--- a/app/views/imports/index.html.slim
+++ b/app/views/imports/index.html.slim
@@ -1,12 +1,7 @@
- breadcrumb :imports, @workbench
-/ PageHeader
-= pageheader 'importer',
- t('.title'),
- '',
- '',
- link_to(t('imports.actions.new'), new_workbench_import_path(workbench_id: @workbench), class: 'btn btn-primary')
+- content_for :page_header_actions do
+ = link_to(t('imports.actions.new'), new_workbench_import_path(workbench_id: @workbench), class: 'btn btn-primary')
-/ PageContent
.page_content
.container-fluid
- if params[:q].present? or @imports.any?