Add homepage to course dashboard
This commit is contained in:
parent
178559ac67
commit
45b5279792
@ -15,6 +15,7 @@ class CourseDashboard < Administrate::BaseDashboard
|
||||
panopto_folders: Field::String.with_options(searchable: false),
|
||||
semester_start_date: Field::Date,
|
||||
title: Field::String,
|
||||
homepage: Field::String,
|
||||
toggl_project: Field::Number,
|
||||
unit_code: Field::String,
|
||||
created_at: Field::DateTime,
|
||||
@ -29,6 +30,7 @@ class CourseDashboard < Administrate::BaseDashboard
|
||||
COLLECTION_ATTRIBUTES = %i[
|
||||
title
|
||||
unit_code
|
||||
homepage
|
||||
lectures
|
||||
work_items
|
||||
recordings
|
||||
@ -40,6 +42,7 @@ class CourseDashboard < Administrate::BaseDashboard
|
||||
id
|
||||
title
|
||||
unit_code
|
||||
homepage
|
||||
panopto_folders
|
||||
semester_start_date
|
||||
toggl_project
|
||||
@ -56,6 +59,7 @@ class CourseDashboard < Administrate::BaseDashboard
|
||||
FORM_ATTRIBUTES = %i[
|
||||
title
|
||||
unit_code
|
||||
homepage
|
||||
panopto_folders
|
||||
semester_start_date
|
||||
toggl_project
|
||||
|
||||
Loading…
Reference in New Issue
Block a user