diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-05-02 14:56:28 -0400 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-05-02 20:56:28 +0200 |
commit | b5eec3423044f66066d64bd5c9422f40113c543a (patch) | |
tree | 253ae02c771888fe7c84d32383bc838fb626a45c /app/views/admin/pubsubhubbub/_subscription.html.haml | |
parent | 212868216230120b63b162ab40cf271deadadd63 (diff) |
Add admin area view partials for each record type (#2700)
Diffstat (limited to 'app/views/admin/pubsubhubbub/_subscription.html.haml')
-rw-r--r-- | app/views/admin/pubsubhubbub/_subscription.html.haml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/admin/pubsubhubbub/_subscription.html.haml b/app/views/admin/pubsubhubbub/_subscription.html.haml new file mode 100644 index 000000000..024788e13 --- /dev/null +++ b/app/views/admin/pubsubhubbub/_subscription.html.haml @@ -0,0 +1,16 @@ +%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'};" } + = precede subscription.expired? ? '-' : '' do + = time_ago_in_words(subscription.expires_at) + %td + - if subscription.last_successful_delivery_at? + = l subscription.last_successful_delivery_at + - else + %i.fa.fa-times |