%# locals: (import:) %> <% dry_run = import.dry_run %> <% resources_with_counts = dry_run.select { |_, count| count > 0 }.filter_map { |key, count| [dry_run_resource(key), count] if dry_run_resource(key) } %> <% import_summary_empty = resources_with_counts.empty? %>
<%= t(".description") %>
<%= t(".summary_item_label") %>
<%= t(".summary_count_label") %>
<%= t(".empty_summary") %>
<%= resource.label %>
<%= count %>