Updated admin dashboard for ChatConversationAccounts
• Updated: - admin dashboard for ChatConversationAccounts
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
%tr
|
||||
%td
|
||||
= admin_account_link_to(chat_conversation_account.account)
|
||||
%td
|
||||
- chat_conversation_account.participant_account_ids.each do |a|
|
||||
%a{href: "/admin/accounts/#{a}"}= a
|
||||
%td
|
||||
%span= chat_conversation_account.is_approved ? "Y" : "N"
|
||||
%td
|
||||
%span= chat_conversation_account.is_hidden ? "Y" : "N"
|
||||
%td
|
||||
%span= chat_conversation_account.is_muted ? "Y" : "N"
|
||||
24
app/views/admin/chat_conversation_accounts/index.html.haml
Normal file
24
app/views/admin/chat_conversation_accounts/index.html.haml
Normal file
@@ -0,0 +1,24 @@
|
||||
- content_for :page_title do
|
||||
%span= "Chat conversations including: @#{@account.acct}"
|
||||
|
||||
.filters
|
||||
.back-link{ style: 'flex: 1 1 auto; text-align: left' }
|
||||
= link_to admin_account_path(@account.id) do
|
||||
= fa_icon 'chevron-left fw'
|
||||
= t('admin.followers.back_to_account')
|
||||
|
||||
%hr.spacer/
|
||||
|
||||
.table-wrapper
|
||||
%table.table
|
||||
%thead
|
||||
%tr
|
||||
%th Account
|
||||
%th Members
|
||||
%th Approved?
|
||||
%th Hidden?
|
||||
%th Muted?
|
||||
%tbody
|
||||
= render @chat_conversation_accounts
|
||||
|
||||
= paginate @chat_conversation_accounts
|
||||
Reference in New Issue
Block a user