diff --git a/ProgramInformationV2.Data/CourseraImport/CourseraImportManager.cs b/ProgramInformationV2.Data/CourseraImport/CourseraImportManager.cs index 85ce3d9..d4cd29b 100644 --- a/ProgramInformationV2.Data/CourseraImport/CourseraImportManager.cs +++ b/ProgramInformationV2.Data/CourseraImport/CourseraImportManager.cs @@ -22,6 +22,7 @@ public async Task GetCourse(string source, string id) { CourseTitle = courseraCourse.Title, Sections = [ new Section { + Title = "Coursera Information", BeginDate = DateTime.MinValue, EndDate = DateTime.MaxValue, IsActive = true, diff --git a/ProgramInformationV2.Data/FieldList/SectionGroup.cs b/ProgramInformationV2.Data/FieldList/SectionGroup.cs index f73b077..4f346c7 100644 --- a/ProgramInformationV2.Data/FieldList/SectionGroup.cs +++ b/ProgramInformationV2.Data/FieldList/SectionGroup.cs @@ -13,6 +13,7 @@ public SectionGroup() { [FieldType.Technical] = "Technical details used for internal purposes." }; FieldItems = [ + new() { Title = "Title", CategoryType = CategoryType.Section, FieldType = FieldType.General, InitialDescription = "Optional title, not used" }, new() { Title = "Section Code", CategoryType = CategoryType.Section, FieldType = FieldType.General, IsRequired = true }, new() { Title = "Alternate Title", CategoryType = CategoryType.Section, FieldType = FieldType.General, InitialDescription = "Create an alternative name for the section. This will appear on the course page." }, new() { Title = "Alternate Description", CategoryType = CategoryType.Section, FieldType = FieldType.General, InitialDescription = "Create an alternative description for the section. This will appear on the course page." }, diff --git a/ProgramInformationV2/Components/Pages/Section/General.razor b/ProgramInformationV2/Components/Pages/Section/General.razor index d115524..212e89f 100644 --- a/ProgramInformationV2/Components/Pages/Section/General.razor +++ b/ProgramInformationV2/Components/Pages/Section/General.razor @@ -8,6 +8,7 @@ @if (SectionItem != null && FieldItems != null) { +