From 48ecd800cf5f2ca87a78b238e73d6dab4d50b46b Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Mon, 25 Jan 2021 16:00:49 -0500 Subject: [PATCH] Removed chat counters in admin account dashboard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Removed: - chat counters in admin account dashboard --- app/views/admin/accounts/show.html.haml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/views/admin/accounts/show.html.haml b/app/views/admin/accounts/show.html.haml index 006ab6a4..f589922b 100644 --- a/app/views/admin/accounts/show.html.haml +++ b/app/views/admin/accounts/show.html.haml @@ -58,14 +58,14 @@ = link_to admin_account_joined_groups_path(@account.id) do .dashboard__counters__num= number_with_delimiter @account.group_removed_accounts.count .dashboard__counters__label Removed by Groups - %div - %a{href: "/admin/chat_messages?account_id=#{@account.id}"} - .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 + -# %div + -# %a{href: "/admin/chat_messages?account_id=#{@account.id}"} + -# .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