mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
c44a700252
* Remove trailing whitespace * Use query methods instead of explicit .blank? checks
29 lines
701 B
Text
29 lines
701 B
Text
- 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
|