2017-10-04 16:16:10 +03:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('admin.email_domain_blocks.title')
|
|
|
|
|
2020-01-11 03:14:45 +02: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 16:55:03 +02:00
|
|
|
- if @email_domain_blocks.empty?
|
2020-01-11 03:14:45 +02: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 08:06:56 +02:00
|
|
|
= render partial: 'email_domain_block', collection: @email_domain_blocks
|
2017-10-04 16:16:10 +03:00
|
|
|
|
|
|
|
= paginate @email_domain_blocks
|