From 178559ac672ed289e058d65735d4a331233bc160 Mon Sep 17 00:00:00 2001 From: Joshua Coles Date: Sun, 8 Oct 2023 16:40:46 +0100 Subject: [PATCH] Add document links to dashboard --- app/dashboards/work_item_dashboard.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/dashboards/work_item_dashboard.rb b/app/dashboards/work_item_dashboard.rb index 263dc16..233a91b 100644 --- a/app/dashboards/work_item_dashboard.rb +++ b/app/dashboards/work_item_dashboard.rb @@ -13,6 +13,7 @@ class WorkItemDashboard < Administrate::BaseDashboard due_date: Field::DateTime, title: Field::String, tracked_time_entries: Field::HasMany, + document_link: Field::String, created_at: Field::DateTime, updated_at: Field::DateTime, }.freeze @@ -27,6 +28,7 @@ class WorkItemDashboard < Administrate::BaseDashboard course due_date title + document_link ].freeze # SHOW_PAGE_ATTRIBUTES @@ -36,6 +38,7 @@ class WorkItemDashboard < Administrate::BaseDashboard course due_date title + document_link tracked_time_entries created_at updated_at @@ -48,6 +51,7 @@ class WorkItemDashboard < Administrate::BaseDashboard course due_date title + document_link tracked_time_entries ].freeze