🦺 Include code to use the new API actions
This commit is contained in:
parent
23dc58c2ac
commit
7a68cf9be7
2 changed files with 10 additions and 1 deletions
|
|
@ -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\""), |_| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue