remove admin dashboard

This commit is contained in:
2026-07-27 08:38:06 +02:00
parent 285d4d257b
commit a6bfe60d65
2 changed files with 4 additions and 23 deletions
+3 -23
View File
@@ -1,27 +1,7 @@
ActiveAdmin.register_page "Dashboard" do
menu priority: 1, label: proc { I18n.t("active_admin.dashboard") }
menu false
content title: proc { I18n.t("active_admin.dashboard") } do
columns do
column do
panel "Softwares" do
ul do
li "Total: #{Software.count}"
li "Released: #{Software.where(status: 'released').count}"
li "In development: #{Software.where(status: 'development').count}"
end
end
end
column do
panel "Recent Releases" do
table_for Release.order(created_at: :desc).limit(10) do
column(:software) { |r| link_to r.software.title, admin_software_path(r.software) rescue r.software_id }
column :version
column :created_at
end
end
end
end
content do
redirect_to admin_software_index_path
end
end