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),
|
panopto_folders: Field::String.with_options(searchable: false),
|
||||||
semester_start_date: Field::Date,
|
semester_start_date: Field::Date,
|
||||||
title: Field::String,
|
title: Field::String,
|
||||||
|
homepage: Field::String,
|
||||||
toggl_project: Field::Number,
|
toggl_project: Field::Number,
|
||||||
unit_code: Field::String,
|
unit_code: Field::String,
|
||||||
created_at: Field::DateTime,
|
created_at: Field::DateTime,
|
||||||
@ -29,6 +30,7 @@ class CourseDashboard < Administrate::BaseDashboard
|
|||||||
COLLECTION_ATTRIBUTES = %i[
|
COLLECTION_ATTRIBUTES = %i[
|
||||||
title
|
title
|
||||||
unit_code
|
unit_code
|
||||||
|
homepage
|
||||||
lectures
|
lectures
|
||||||
work_items
|
work_items
|
||||||
recordings
|
recordings
|
||||||
@ -40,6 +42,7 @@ class CourseDashboard < Administrate::BaseDashboard
|
|||||||
id
|
id
|
||||||
title
|
title
|
||||||
unit_code
|
unit_code
|
||||||
|
homepage
|
||||||
panopto_folders
|
panopto_folders
|
||||||
semester_start_date
|
semester_start_date
|
||||||
toggl_project
|
toggl_project
|
||||||
@ -56,6 +59,7 @@ class CourseDashboard < Administrate::BaseDashboard
|
|||||||
FORM_ATTRIBUTES = %i[
|
FORM_ATTRIBUTES = %i[
|
||||||
title
|
title
|
||||||
unit_code
|
unit_code
|
||||||
|
homepage
|
||||||
panopto_folders
|
panopto_folders
|
||||||
semester_start_date
|
semester_start_date
|
||||||
toggl_project
|
toggl_project
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user