闭社主体 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.

19 lines
737 B

  1. - content_for :page_title do
  2. = t('doorkeeper.applications.index.title')
  3. %table.table
  4. %thead
  5. %tr
  6. %th= t('doorkeeper.applications.index.application')
  7. %th= t('doorkeeper.applications.index.scopes')
  8. %th
  9. %tbody
  10. - @applications.each do |application|
  11. %tr
  12. %td= link_to application.name, settings_application_path(application)
  13. %th= application.scopes
  14. %td
  15. = table_link_to 'times', t('doorkeeper.applications.index.delete'), settings_application_path(application), method: :delete, data: { confirm: t('doorkeeper.applications.confirmations.destroy') }
  16. = paginate @applications
  17. = link_to t('doorkeeper.applications.index.new'), new_settings_application_path, class: 'button'