forge
Explore
Log in

Don't you dare go Hollow

iz-web: tab titles in the family 'Page · iz' form (im parity)

Browse files at this commit

30596379b55d60cebf3c1f594e0fc93eb143b4afAhmet Kaan GümüşParent: 6b83279
crates/iz-web/src/layout.rsmodified+7 -7
@@ -1028,13 +1028,13 @@ async fn root_layout(cx: &Cx, slot: topcoat::view::Child<'_>) -> Result<impl Vie
1028 // 404 among it — reads as the app's bare name.1028 // 404 among it — reads as the app's bare name.
1029 let path = topcoat::router::request::uri(cx).path();1029 let path = topcoat::router::request::uri(cx).path();
1030 let title = match path {1030 let title = match path {
1031- "/" if asking.is_none() => t(lang, Key::SignIn).to_string(),1031+ "/" if asking.is_none() => format!("{} · iz", t(lang, Key::SignIn)),
1032- "/" => t(lang, Key::NavBoard).to_string(),1032+ "/" => format!("{} · iz", t(lang, Key::NavBoard)),
1033- p if p.starts_with("/rules") => t(lang, Key::NavMailRules).to_string(),1033+ p if p.starts_with("/rules") => format!("{} · iz", t(lang, Key::NavMailRules)),
1034- p if p.starts_with("/logs") => t(lang, Key::NavLogs).to_string(),1034+ p if p.starts_with("/logs") => format!("{} · iz", t(lang, Key::NavLogs)),
1035- p if p.starts_with("/tags") => t(lang, Key::NavTags).to_string(),1035+ p if p.starts_with("/tags") => format!("{} · iz", t(lang, Key::NavTags)),
1036- p if p.starts_with("/settings") => t(lang, Key::NavSettings).to_string(),1036+ p if p.starts_with("/settings") => format!("{} · iz", t(lang, Key::NavSettings)),
1037- p if p.starts_with("/people") => t(lang, Key::Members).to_string(),1037+ p if p.starts_with("/people") => format!("{} · iz", t(lang, Key::Members)),
1038 _ => "iz".to_string(),1038 _ => "iz".to_string(),
1039 };1039 };
1040 Ok(view! {1040 Ok(view! {