feat(template): add user_id to HtmlPageContext and delete button to diary

This commit is contained in:
2026-05-04 14:31:12 +02:00
parent 144f2f8e0c
commit 7aa6d7bf4d
3 changed files with 16 additions and 2 deletions

View File

@@ -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,
}