* Add shortcuts to blacklist a user's e-mail domain in admin UI * Add option to blacklist resolved MX and IP records for e-mail domains
16 lines
626 B
Text
16 lines
626 B
Text
%tr
|
|
%td
|
|
%samp= email_domain_block.domain
|
|
%td
|
|
= table_link_to 'trash', t('admin.email_domain_blocks.delete'), admin_email_domain_block_path(email_domain_block), method: :delete
|
|
|
|
- email_domain_block.children.each do |child_email_domain_block|
|
|
%tr
|
|
%td
|
|
%samp= child_email_domain_block.domain
|
|
%span.muted-hint
|
|
= surround '(', ')' do
|
|
= t('admin.email_domain_blocks.from_html', domain: content_tag(:samp, email_domain_block.domain))
|
|
%td
|
|
= table_link_to 'trash', t('admin.email_domain_blocks.delete'), admin_email_domain_block_path(child_email_domain_block), method: :delete
|