|
|
@ -11,6 +11,7 @@
|
|
|
|
%th= t('admin.pubsubhubbub.last_delivery')
|
|
|
|
%th= t('admin.pubsubhubbub.last_delivery')
|
|
|
|
%tbody
|
|
|
|
%tbody
|
|
|
|
- @subscriptions.each do |subscription|
|
|
|
|
- @subscriptions.each do |subscription|
|
|
|
|
|
|
|
|
- expired = Time.now.utc < subscription.expires_at
|
|
|
|
%tr
|
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
%td
|
|
|
|
%samp= subscription.account.acct
|
|
|
|
%samp= subscription.account.acct
|
|
|
@ -19,7 +20,9 @@
|
|
|
|
%td
|
|
|
|
%td
|
|
|
|
- if subscription.confirmed?
|
|
|
|
- if subscription.confirmed?
|
|
|
|
%i.fa.fa-check
|
|
|
|
%i.fa.fa-check
|
|
|
|
%td= distance_of_time_in_words(Time.now, subscription.expires_at)
|
|
|
|
%td{ style: "color: #{expired ? 'red' : 'inherit'};" }
|
|
|
|
|
|
|
|
= precede expired ? '-' : '' do
|
|
|
|
|
|
|
|
= time_ago_in_words(subscription.expires_at)
|
|
|
|
%td
|
|
|
|
%td
|
|
|
|
- if subscription.last_successful_delivery_at?
|
|
|
|
- if subscription.last_successful_delivery_at?
|
|
|
|
= l subscription.last_successful_delivery_at
|
|
|
|
= l subscription.last_successful_delivery_at
|
|
|
|