diff options
| author | cedricnjanga | 2018-01-09 12:12:14 +0100 |
|---|---|---|
| committer | cedricnjanga | 2018-01-09 12:12:14 +0100 |
| commit | 502b7aabce838c156516d9fa3d016dd0f5b614f9 (patch) | |
| tree | f62b9a2f0a59b9c1fda97867301d63bb30c38b4d | |
| parent | 417465bb1c147ed1e58008516ba2f9fb7515e7a9 (diff) | |
| download | chouette-core-502b7aabce838c156516d9fa3d016dd0f5b614f9.tar.bz2 | |
Refs #5129 small change on import report show button5129-import-report-button
| -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' |
