diff options
| author | Luc Donnet | 2018-01-09 16:36:08 +0100 | 
|---|---|---|
| committer | GitHub | 2018-01-09 16:36:08 +0100 | 
| commit | ead72e6642662d0aaa008a0c3df1563ab8a9a478 (patch) | |
| tree | d9022f8d256b97a8339d3e8d0f770dbf7674dfd7 | |
| parent | a0e05d7b2d9be6f52d88f365739ca2eab406a2f2 (diff) | |
| parent | 502b7aabce838c156516d9fa3d016dd0f5b614f9 (diff) | |
| download | chouette-core-ead72e6642662d0aaa008a0c3df1563ab8a9a478.tar.bz2 | |
Merge pull request #214 from af83/5129-import-report-button
Refs #5129 small change on import report show button #micro
| -rw-r--r-- | app/decorators/import_decorator.rb | 8 | ||||
| -rw-r--r-- | app/views/imports/index.html.slim | 2 | 
2 files changed, 1 insertions, 9 deletions
| diff --git a/app/decorators/import_decorator.rb b/app/decorators/import_decorator.rb index e748f830d..8b00234d2 100644 --- a/app/decorators/import_decorator.rb +++ b/app/decorators/import_decorator.rb @@ -16,14 +16,6 @@ class ImportDecorator < Draper::Decorator      links = []      links << Link.new( -      content: h.t('imports.actions.show'), -      href: h.workbench_import_path( -        context[:workbench], -        object -      ) -    ) - -    links << Link.new(        content: h.t('imports.actions.download'),        href: object.file.url      ) diff --git a/app/views/imports/index.html.slim b/app/views/imports/index.html.slim index 79452bbfc..856b715e0 100644 --- a/app/views/imports/index.html.slim +++ b/app/views/imports/index.html.slim @@ -34,7 +34,7 @@                  attribute: 'creator' \                ) \              ], -            links: [], +            links: [:show],              cls: 'table has-search'            = new_pagination @imports, 'pull-right' | 
