This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/views/admin/domain_blocks/index.html.haml
Thomas Citharel c0c56db0fa Translate admin (#1702)
* Translate the domain_block panel

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

* Translate PubSubHubbub section

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

* translate account section and correct typos

* move reports translation & translate sidebar

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

* normalize l18n
2017-04-13 21:49:07 +02:00

18 lines
407 B
Plaintext

- content_for :page_title do
= t('admin.domain_block.title')
%table.table
%thead
%tr
%th= t('admin.domain_block.domain')
%th= t('admin.domain_block.severity')
%tbody
- @blocks.each do |block|
%tr
%td
%samp= block.domain
%td= block.severity
= paginate @blocks
= link_to t('admin.domain_block.add_new'), new_admin_domain_block_path, class: 'button'