From 5fa880abef8d8bebbfb91f1db2ad9b99cdbcf341 Mon Sep 17 00:00:00 2001 From: Vlatka Pavisic Date: Thu, 20 Apr 2017 11:29:46 +0200 Subject: Refs #3146 : Add Imports button to workbenches#show --- app/views/workbenches/show.html.slim | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/workbenches/show.html.slim b/app/views/workbenches/show.html.slim index b46cf09a4..1025c1658 100644 --- a/app/views/workbenches/show.html.slim +++ b/app/views/workbenches/show.html.slim @@ -7,6 +7,7 @@ / Below is secundary actions & optional contents (filters, ...) .row.mb-sm .col-lg-12.text-right + = link_to Import.model_name.human.pluralize.capitalize, workbench_imports_path(@workbench), class: 'btn btn-primary' - if policy(Referential).create? = link_to t('referentials.actions.new'), new_referential_path(workbench_id: @workbench), class: 'btn btn-primary' -- cgit v1.2.3