@warning_domains=Instance.where(domain:@domain_blocks.map(&:domain)).where('EXISTS (SELECT 1 FROM follows JOIN accounts ON follows.account_id = accounts.id OR follows.target_account_id = accounts.id WHERE accounts.domain = instances.domain)').pluck(:domain)
@warning_domains=Instance.where(domain:@domain_blocks.map(&:domain)).where('EXISTS (SELECT 1 FROM follows JOIN accounts ON follows.account_id = accounts.id OR follows.target_account_id = accounts.id WHERE accounts.domain = instances.domain)').pluck(:domain)
private_comment_description_html: 'To help you track where imported blocks come from, imported blocks will be created with the following private comment:<q>%{comment}</q>'
private_comment_description_html: 'To help you track where imported blocks come from, imported blocks will be created with the following private comment:<q>%{comment}</q>'
private_comment_template:Imported from %{source} on %{date}
private_comment_template:Imported from %{source} on %{date}
title:Import domain blocks
title:Import domain blocks
invalid_domain_block: 'One or more domain blocks were skipped because of the following error(s):%{error}'