v1.1: Add weekly introductions
- Create a new migration adding a Weeks table, allowing for new weekly introductions and paving the way for multiple week handling. - Add route to update the weekly introduction - Move the week rendering to a specific week file - Update the templates to use the week number from the week data - Update templates to render and edit weekly introductions
This commit is contained in:
parent
9911895b5b
commit
67ce54e992
12 changed files with 165 additions and 71 deletions
|
@ -10,7 +10,6 @@ use rocket::serde::json::Json;
|
|||
use rocket_db_pools::{sqlx, Connection};
|
||||
|
||||
use crate::{auth, database};
|
||||
use crate::database::Db;
|
||||
use crate::database_records::{Vote, VotingData};
|
||||
|
||||
#[derive(FromForm)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue