mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-01 08:46:26 +01:00
c44a700252
* Remove trailing whitespace * Use query methods instead of explicit .blank? checks
30 lines
701 B
Plaintext
30 lines
701 B
Plaintext
- content_for :page_title do
|
|
PubSubHubbub
|
|
|
|
%table.table
|
|
%thead
|
|
%tr
|
|
%th Topic
|
|
%th Callback URL
|
|
%th Confirmed
|
|
%th Expires in
|
|
%th Last delivery
|
|
%tbody
|
|
- @subscriptions.each do |subscription|
|
|
%tr
|
|
%td
|
|
%samp= subscription.account.acct
|
|
%td
|
|
%samp= subscription.callback_url
|
|
%td
|
|
- if subscription.confirmed?
|
|
%i.fa.fa-check
|
|
%td= distance_of_time_in_words(Time.now, subscription.expires_at)
|
|
%td
|
|
- if subscription.last_successful_delivery_at?
|
|
= l subscription.last_successful_delivery_at
|
|
- else
|
|
%i.fa.fa-times
|
|
|
|
= paginate @subscriptions
|