mirror of
https://codeberg.org/slatian/service.echoip-slatecave.git
synced 2025-07-16 14:03:28 +02:00
Messages now have a title and a message
This commit is contained in:
@ -264,7 +264,10 @@ async fn hello_world_handler(
|
||||
|
||||
state.templating_engine.render_view(
|
||||
&settings,
|
||||
&View::Message("Hello! There, You, Awesome Creature!".to_string())
|
||||
&View::Message{
|
||||
title: "Hey There!".to_string(),
|
||||
message: "You,You are an awesome Creature!".to_string()
|
||||
},
|
||||
).await
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user