闭社主体 forked from https://github.com/tootsuite/mastodon
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.

20 lines
477 B

  1. - content_for :page_title do
  2. = t('admin.relays.title')
  3. .simple_form
  4. %p.hint= t('admin.relays.description_html')
  5. = link_to @relays.empty? ? t('admin.relays.setup') : t('admin.relays.add_new'), new_admin_relay_path, class: 'block-button'
  6. - unless @relays.empty?
  7. %hr.spacer
  8. .table-wrapper
  9. %table.table
  10. %thead
  11. %tr
  12. %th= t('admin.relays.inbox_url')
  13. %th= t('admin.relays.status')
  14. %th
  15. %tbody
  16. = render @relays