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