1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
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

17 lines
407 B
Text

- 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'