2017-10-04 13:16:10 +00:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('admin.email_domain_blocks.title')
|
|
|
|
|
2020-01-11 01:14:45 +00:00
|
|
|
- content_for :heading_actions do
|
|
|
|
= link_to t('admin.email_domain_blocks.add_new'), new_admin_email_domain_block_path, class: 'button'
|
|
|
|
|
2020-01-20 14:55:03 +00:00
|
|
|
- if @email_domain_blocks.empty?
|
2020-01-11 01:14:45 +00:00
|
|
|
%div.muted-hint.center-text=t 'admin.email_domain_blocks.empty'
|
|
|
|
- else
|
|
|
|
.table-wrapper
|
|
|
|
%table.table
|
|
|
|
%thead
|
|
|
|
%tr
|
|
|
|
%th= t('admin.email_domain_blocks.domain')
|
|
|
|
%th
|
|
|
|
%tbody
|
2021-03-07 06:06:56 +00:00
|
|
|
= render partial: 'email_domain_block', collection: @email_domain_blocks
|
2017-10-04 13:16:10 +00:00
|
|
|
|
|
|
|
= paginate @email_domain_blocks
|