From fcff7ca83968ea3237fa72bbeaa70e33429b39cd Mon Sep 17 00:00:00 2001 From: Joshua Coles Date: Mon, 2 Oct 2023 11:13:31 +0100 Subject: [PATCH] Add the rest of my modules --- app/views/attendance_tracker/index.html.erb | 2 +- db/seeds.rb | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/app/views/attendance_tracker/index.html.erb b/app/views/attendance_tracker/index.html.erb index cb296c3..aa69ef4 100644 --- a/app/views/attendance_tracker/index.html.erb +++ b/app/views/attendance_tracker/index.html.erb @@ -8,7 +8,7 @@

<%= course.title %>

- +
diff --git a/db/seeds.rb b/db/seeds.rb index 4156dda..5ecea6e 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -21,3 +21,19 @@ Course.create!( unit_code: 'MA30253', semester_start_date: START_OF_YEAR_5_SEMESTER_1.to_date, ) + +Course.create!( + title: 'Quantum Mechanics', + panopto_folders: ['7f5198a9-8261-4e11-9007-b07500bc314b'], + toggl_project: 195518593, + unit_code: 'PH30030', + semester_start_date: START_OF_YEAR_5_SEMESTER_1.to_date, +) + +Course.create!( + title: 'Measure Theory & Integration', + panopto_folders: ["af2c415a-6a21-4f08-ba76-b07500a2174c"], + toggl_project: 195519024, + unit_code: 'MA40042', + semester_start_date: START_OF_YEAR_5_SEMESTER_1.to_date, +)
Lecture