diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-01-08 13:39:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-08 13:39:49 +0100 |
commit | 1c6588accca23599ea1537ec527a5be04408b2af (patch) | |
tree | fd0b7af844699dc38829e776ff5a42987b6b1193 /app/views/admin/domain_blocks | |
parent | 9a38357111049c7587c898b2b623cf9c853a4d35 (diff) |
Redesign admin instances area (#9645)
Diffstat (limited to 'app/views/admin/domain_blocks')
-rw-r--r-- | app/views/admin/domain_blocks/_domain_block.html.haml | 13 | ||||
-rw-r--r-- | app/views/admin/domain_blocks/index.html.haml | 17 |
2 files changed, 0 insertions, 30 deletions
diff --git a/app/views/admin/domain_blocks/_domain_block.html.haml b/app/views/admin/domain_blocks/_domain_block.html.haml deleted file mode 100644 index 7bfea3574..000000000 --- a/app/views/admin/domain_blocks/_domain_block.html.haml +++ /dev/null @@ -1,13 +0,0 @@ -%tr - %td - %samp= domain_block.domain - %td.severity - = t("admin.domain_blocks.severities.#{domain_block.severity}") - %td.reject_media - - if domain_block.reject_media? || domain_block.suspend? - %i.fa.fa-check - %td.reject_reports - - if domain_block.reject_reports? || domain_block.suspend? - %i.fa.fa-check - %td - = table_link_to 'undo', t('admin.domain_blocks.undo'), admin_domain_block_path(domain_block) diff --git a/app/views/admin/domain_blocks/index.html.haml b/app/views/admin/domain_blocks/index.html.haml deleted file mode 100644 index 4c5221c42..000000000 --- a/app/views/admin/domain_blocks/index.html.haml +++ /dev/null @@ -1,17 +0,0 @@ -- content_for :page_title do - = t('admin.domain_blocks.title') - -.table-wrapper - %table.table - %thead - %tr - %th= t('admin.domain_blocks.domain') - %th= t('admin.domain_blocks.severity') - %th= t('admin.domain_blocks.reject_media') - %th= t('admin.domain_blocks.reject_reports') - %th - %tbody - = render @domain_blocks - -= paginate @domain_blocks -= link_to t('admin.domain_blocks.add_new'), new_admin_domain_block_path, class: 'button' |