🚚 Refactor modules to packages to avoid Rust clash
This commit is contained in:
parent
98fa367ebc
commit
89f78a1aff
35 changed files with 125 additions and 123 deletions
|
|
@ -5,7 +5,7 @@ use pagetop::prelude::*;
|
|||
pub async fn summary(request: service::HttpRequest) -> ResultPage<Markup, ErrorPage> {
|
||||
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::t("package_name", &LOCALES_ADMIN)))
|
||||
.add_item(menu::Item::label(L10n::n("Ejemplo \"Label\"")))
|
||||
.add_item(menu::Item::link(L10n::n("Ejemplo \"Link\""), |_| {
|
||||
"https://www.google.es"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue