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

18 lines
703 B

  1. %tr
  2. %td
  3. %samp= subscription.account.acct
  4. %td
  5. %samp= subscription.callback_url
  6. %td
  7. - if subscription.confirmed?
  8. %i.fa.fa-check
  9. %td{ style: "color: #{subscription.expired? ? 'red' : 'inherit'};" }
  10. %time.time-ago{ datetime: subscription.expires_at.iso8601, title: l(subscription.expires_at) }
  11. = precede subscription.expired? ? '-' : '' do
  12. = time_ago_in_words(subscription.expires_at)
  13. %td
  14. - if subscription.last_successful_delivery_at?
  15. %time.formatted{ datetime: subscription.last_successful_delivery_at.iso8601, title: l(subscription.last_successful_delivery_at) }
  16. = l subscription.last_successful_delivery_at
  17. - else
  18. %i.fa.fa-times