about summary refs log tree commit diff
path: root/app/views/admin/relays/index.html.haml
blob: 1636a53f8521df4b1a9f2b23b683632ef3b44315 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- content_for :page_title do
  = t('admin.relays.title')

.simple_form
  %p.hint= t('admin.relays.description_html')
  = link_to @relays.empty? ? t('admin.relays.setup') : t('admin.relays.add_new'), new_admin_relay_path, class: 'block-button'

- unless @relays.empty?
  %hr.spacer

  .table-wrapper
    %table.table
      %thead
        %tr
          %th= t('admin.relays.inbox_url')
          %th= t('admin.relays.status')
          %th
      %tbody
        = render @relays