index.html.haml 444 B

123456789101112131415161718
  1. - content_for :page_title do
  2. = t('admin.webhooks.title')
  3. - content_for :heading_actions do
  4. = link_to t('admin.webhooks.add_new'), new_admin_webhook_path, class: 'button' if can?(:create, :webhook)
  5. %p= t('admin.webhooks.description_html')
  6. %hr.spacer/
  7. - if @webhooks.empty?
  8. .muted-hint.center-text
  9. = t 'admin.webhooks.empty'
  10. - else
  11. .applications-list
  12. = render partial: 'webhook', collection: @webhooks
  13. = paginate @webhooks