feat(template): add user_id to HtmlPageContext and delete button to diary
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
use uuid::Uuid;
|
||||
|
||||
use domain::models::{DiaryEntry, collections::Paginated};
|
||||
|
||||
pub struct HtmlPageContext {
|
||||
pub user_email: Option<String>,
|
||||
pub user_id: Option<Uuid>,
|
||||
pub register_enabled: bool,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user