diff --git a/app/admin/account.rb b/app/admin/account.rb index 8db77f5..73c23aa 100644 --- a/app/admin/account.rb +++ b/app/admin/account.rb @@ -1,6 +1,6 @@ ActiveAdmin.register Account do - scope :all - scope :bot + # scope :all + # scope :bot index do column :id column :user_id diff --git a/app/admin/arec.rb b/app/admin/arec.rb index 7672b10..9084dfd 100644 --- a/app/admin/arec.rb +++ b/app/admin/arec.rb @@ -1,7 +1,7 @@ ActiveAdmin.register Arec do menu label: 'Account recovery' - scope :all - scope :by_email + # scope :all + # scope :by_email index do column :id diff --git a/app/admin/dashboard.rb b/app/admin/dashboard.rb index e512960..28fcfe9 100644 --- a/app/admin/dashboard.rb +++ b/app/admin/dashboard.rb @@ -52,7 +52,7 @@ panel "Recent Users" do table_for User.order("created_at desc").limit(30) do column :email do |u| - link_to u.email, admin_user_path(u) + link_to u.display_email, admin_user_path(u) end column :created_at end @@ -60,17 +60,17 @@ end end - column do - panel "Recent Accounts" do - table_for Account.order("created_at desc").limit(30) do - column :name do |a| - link_to a.name, admin_account_path(a) - end - column :created_at - end - strong { link_to "View All Accounts", admin_accounts_path } - end - end + # column do + # panel "Recent Accounts" do + # table_for Account.order("created_at desc").limit(30) do + # column :name do |a| + # link_to a.name, admin_account_path(a) + # end + # column :created_at + # end + # strong { link_to "View All Accounts", admin_accounts_path } + # end + # end end diff --git a/app/admin/identity.rb b/app/admin/identity.rb index 394f5a7..fe765bb 100644 --- a/app/admin/identity.rb +++ b/app/admin/identity.rb @@ -1,5 +1,5 @@ ActiveAdmin.register Identity do - scope :all + # scope :all includes :user index do diff --git a/app/admin/user.rb b/app/admin/user.rb index 8866793..5890b07 100644 --- a/app/admin/user.rb +++ b/app/admin/user.rb @@ -9,8 +9,8 @@ def issues_to_status_tags(warnings) end ActiveAdmin.register User do - scope :all - scope :waiting_list + # scope :all + # scope :waiting_list includes :identities index do diff --git a/app/assets/stylesheets/active_admin.scss b/app/assets/stylesheets/active_admin.scss index cab2a51..f1c29a8 100644 --- a/app/assets/stylesheets/active_admin.scss +++ b/app/assets/stylesheets/active_admin.scss @@ -18,4 +18,8 @@ .table_actions > a { margin-right: 10px; -} \ No newline at end of file +} + +table.index_table td.col-value { + word-break: break-all !important; +} diff --git a/config/initializers/active_admin.rb b/config/initializers/active_admin.rb index 2bfa733..4be6242 100644 --- a/config/initializers/active_admin.rb +++ b/config/initializers/active_admin.rb @@ -138,7 +138,7 @@ # # Enable and disable Batch Actions # - config.batch_actions = true + config.batch_actions = false # == Controller Filters #