This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2017-10-04 06:16:10 -07:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('admin.email_domain_blocks.title')
|
|
|
|
|
2020-01-10 17:14:45 -08: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 06:55:03 -08:00
|
|
|
- if @email_domain_blocks.empty?
|
2020-01-10 17:14:45 -08: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-06 22:06:56 -08:00
|
|
|
= render partial: 'email_domain_block', collection: @email_domain_blocks
|
2017-10-04 06:16:10 -07:00
|
|
|
|
|
|
|
= paginate @email_domain_blocks
|