index.html.haml 476 B

12345678910111213141516171819
  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