Progress
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
%tr
|
||||
%td
|
||||
= admin_account_link_to(account)
|
||||
%td
|
||||
%div{ style: 'margin: -2px 0' }= account_badge(account, all: true)
|
||||
%td
|
||||
- if account.user_current_sign_in_ip
|
||||
%samp.ellipsized-ip{ title: account.user_current_sign_in_ip }= account.user_current_sign_in_ip
|
||||
@@ -12,4 +10,6 @@
|
||||
- if account.user_current_sign_in_at
|
||||
%time.time-ago{ datetime: account.user_current_sign_in_at.iso8601, title: l(account.user_current_sign_in_at) }= l account.user_current_sign_in_at
|
||||
- else
|
||||
\-
|
||||
\-
|
||||
%td
|
||||
%samp= number_with_delimiter account.statuses.count
|
||||
@@ -34,9 +34,9 @@
|
||||
%thead
|
||||
%tr
|
||||
%th= t('admin.accounts.username')
|
||||
%th= t('admin.accounts.role')
|
||||
%th= t('admin.accounts.most_recent_ip')
|
||||
%th= t('admin.accounts.most_recent_activity')
|
||||
%th Status count
|
||||
%th
|
||||
%tbody
|
||||
= render @accounts
|
||||
|
||||
@@ -42,6 +42,18 @@
|
||||
- else
|
||||
%span.neutral= t('admin.accounts.no_limits_imposed')
|
||||
.dashboard__counters__label= t 'admin.accounts.login_status'
|
||||
%div
|
||||
= link_to admin_account_joined_groups_path(@account.id) do
|
||||
.dashboard__counters__num= number_with_delimiter @account.groups.count
|
||||
.dashboard__counters__label Joined Groups
|
||||
%div
|
||||
= link_to admin_account_chat_conversations_path(@account.id) do
|
||||
.dashboard__counters__num= number_with_delimiter @account.chat_conversation_accounts_count
|
||||
.dashboard__counters__label Chat Conversations
|
||||
%div
|
||||
= link_to admin_account_chat_messages_path(@account.id) do
|
||||
.dashboard__counters__num= number_with_delimiter @account.chat_messages_count
|
||||
.dashboard__counters__label Chat Messages
|
||||
|
||||
- unless @account.local? && @account.user.nil?
|
||||
.table-wrapper
|
||||
|
||||
Reference in New Issue
Block a user