🦺 Include code to use the new API actions

This commit is contained in:
Manuel Cillero 2023-11-04 02:27:20 +01:00
parent 23dc58c2ac
commit 7a68cf9be7
2 changed files with 10 additions and 1 deletions

View file

@ -4,6 +4,7 @@ use pagetop::prelude::*;
pub async fn summary(request: service::HttpRequest) -> ResultPage<Markup, FatalError> {
let top_menu = Menu::new()
.with_id("admin-menu-test")
.add_item(menu::Item::label(L10n::t("module_name", &LOCALES_ADMIN)))
.add_item(menu::Item::label(L10n::n("Ejemplo \"Label\"")))
.add_item(menu::Item::link(L10n::n("Ejemplo \"Link\""), |_| {