2017-05-02 18:56:28 +00:00
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
%samp= subscription.account.acct
|
|
|
|
%td
|
|
|
|
%samp= subscription.callback_url
|
|
|
|
%td
|
|
|
|
- if subscription.confirmed?
|
|
|
|
%i.fa.fa-check
|
|
|
|
%td{ style: "color: #{subscription.expired? ? 'red' : 'inherit'};" }
|
2017-07-05 12:51:28 +00:00
|
|
|
%time.time-ago{ datetime: subscription.expires_at.iso8601, title: l(subscription.expires_at) }
|
|
|
|
= precede subscription.expired? ? '-' : '' do
|
|
|
|
= time_ago_in_words(subscription.expires_at)
|
2017-05-02 18:56:28 +00:00
|
|
|
%td
|
|
|
|
- if subscription.last_successful_delivery_at?
|
2017-07-05 12:51:28 +00:00
|
|
|
%time.formatted{ datetime: subscription.last_successful_delivery_at.iso8601, title: l(subscription.last_successful_delivery_at) }
|
|
|
|
= l subscription.last_successful_delivery_at
|
2017-05-02 18:56:28 +00:00
|
|
|
- else
|
|
|
|
%i.fa.fa-times
|