diff --git a/src/tera/ergo.rs b/src/tera/ergo.rs index 1c3e334..a029a7b 100644 --- a/src/tera/ergo.rs +++ b/src/tera/ergo.rs @@ -172,7 +172,7 @@ async fn new_user( // inform all other `ergo` users let ergo = Role::find_by_name(db, "ergo").await.unwrap(); - Notification::create_for_role(db, &ergo, &format!("{} nimmt heuer an der Ergochallenge teil 💪", user.name), "Ergo-Challenge", None, None).await; + Notification::create_for_role(db, &ergo, &format!("{} nimmt heuer an der Ergochallenge teil 💪", user.name), "Ergo Challenge", None, None).await; // add to `ergo` group user.add_role(db,&ergo).await.unwrap(); @@ -226,7 +226,7 @@ async fn new_thirty( .await; let ergo = Role::find_by_name(db, "ergo").await.unwrap(); - Notification::create_for_role(db, &ergo, &format!("{} ist gerade die Dirty Thirty Challenge gefahren 🥵", user.name), "Ergo-Challenge", Some("/ergo"), None).await; + Notification::create_for_role(db, &ergo, &format!("{} ist gerade die Dirty Thirty Challenge gefahren 🥵", user.name), "Ergo Challenge", Some("/ergo"), None).await; Flash::success(Redirect::to("/ergo"), "Erfolgreich eingetragen") } @@ -270,7 +270,7 @@ async fn new_dozen( .await; let ergo = Role::find_by_name(db, "ergo").await.unwrap(); - Notification::create_for_role(db, &ergo, &format!("{} ist gerade die Dirty Dozen Challenge gefahren 🥵", user.name), "Ergo-Challenge", Some("/ergo"), None).await; + Notification::create_for_role(db, &ergo, &format!("{} ist gerade die Dirty Dozen Challenge gefahren 🥵", user.name), "Ergo Challenge", Some("/ergo"), None).await; Flash::success(Redirect::to("/ergo"), "Erfolgreich eingetragen") } diff --git a/templates/ergo/index.html.tera b/templates/ergo/index.html.tera index 3ead2fc..4d3f010 100644 --- a/templates/ergo/index.html.tera +++ b/templates/ergo/index.html.tera @@ -6,8 +6,8 @@