replace-main-with-fix #1135
@@ -65,7 +65,7 @@ async fn index(db: &State<SqlitePool>, user: User, flash: Option<FlashMessage<'_
|
|||||||
|
|
||||||
let date = chrono::Utc::now();
|
let date = chrono::Utc::now();
|
||||||
if date.month() <= 3 || date.month() >= 10 {
|
if date.month() <= 3 || date.month() >= 10 {
|
||||||
//context.insert("show_quick_ergo_button", "yes");
|
// context.insert("show_quick_ergo_button", "yes");
|
||||||
}
|
}
|
||||||
|
|
||||||
context.insert("achievements", &Achievements::for_user(db, &user).await);
|
context.insert("achievements", &Achievements::for_user(db, &user).await);
|
||||||
|
Reference in New Issue
Block a user