This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2017-05-02 20:56:28 +02: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 14:51:28 +02: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 20:56:28 +02:00
|
|
|
%td
|
|
|
|
- if subscription.last_successful_delivery_at?
|
2017-07-05 14:51:28 +02: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 20:56:28 +02:00
|
|
|
- else
|
|
|
|
%i.fa.fa-times
|