mirror of
https://github.com/whippyshou/mastodon
synced 2024-12-02 00:38:27 +09:00
20 lines
413 B
Plaintext
20 lines
413 B
Plaintext
%table.table
|
|
%thead
|
|
%tr
|
|
%th Username
|
|
%th Domain
|
|
%th Subscribed
|
|
%tbody
|
|
- @accounts.each do |account|
|
|
%tr
|
|
%td= account.username
|
|
%td= account.domain
|
|
%th
|
|
- if account.local?
|
|
Local
|
|
- elsif account.subscribed?
|
|
%i.fa.fa-check
|
|
- else
|
|
%i.fa.fa-times
|
|
= will_paginate @accounts, pagination_options
|