app/views/importo/imports/index.html.slim in importo-2.0.5 vs app/views/importo/imports/index.html.slim in importo-3.0.9

- old
+ new

@@ -1,2 +1,6 @@ -= sts.card title: t('.title'), icon: 'fad fa-file-import', content_padding: false do |card| - = sts.table :importo_imports += sts.card :importo_imports, icon: 'fad fa-file-import', content_padding: false do |card| + - if defined? Mensa + = sts.mensa(:importo_mensa_imports, parameters: { kind: @import&.kind }) + - else + = card.with_table(:importo_imports, parameters: { kind: @import&.kind }, custom_views: false) +