The code powering m.abunchtell.com https://m.abunchtell.com
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.
 
 
 
 

30 line
705 B

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