where i deviate from standard mastodon assets
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html.haml 525B

12345678910111213141516171819
  1. - content_for :page_title do
  2. = t('admin.email_domain_blocks.title')
  3. - content_for :heading_actions do
  4. = link_to t('admin.email_domain_blocks.add_new'), new_admin_email_domain_block_path, class: 'button'
  5. - if @email_domain_blocks.empty?
  6. %div.muted-hint.center-text=t 'admin.email_domain_blocks.empty'
  7. - else
  8. .table-wrapper
  9. %table.table
  10. %thead
  11. %tr
  12. %th= t('admin.email_domain_blocks.domain')
  13. %th
  14. %tbody
  15. = render @email_domain_blocks
  16. = paginate @email_domain_blocks