mirror of
				https://codeberg.org/slatian/service.echoip-slatecave.git
				synced 2025-10-31 08:58:08 +01: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