🚚 Refactor modules to packages to avoid Rust clash

This commit is contained in:
Manuel Cillero 2024-01-07 00:18:54 +01:00
parent 98fa367ebc
commit 89f78a1aff
35 changed files with 125 additions and 123 deletions

View file

@ -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"