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

26 lines
685 B

  1. %table.table
  2. %thead
  3. %tr
  4. %th Topic
  5. %th Callback URL
  6. %th Confirmed
  7. %th Expires in
  8. %th Last delivery
  9. %tbody
  10. - @subscriptions.each do |subscription|
  11. %tr
  12. %td
  13. %samp= subscription.account.acct
  14. %td
  15. %samp= subscription.callback_url
  16. %td
  17. - if subscription.confirmed?
  18. %i.fa.fa-check
  19. %td= distance_of_time_in_words(Time.now, subscription.expires_at)
  20. %td
  21. - if subscription.last_successful_delivery_at.nil?
  22. %i.fa.fa-times
  23. - else
  24. = l subscription.last_successful_delivery_at
  25. = will_paginate @subscriptions, pagination_options