feat: align templates with shared UI foundations
This commit is contained in:
@@ -18,6 +18,7 @@ from govoplan_core.core.modules import (
|
||||
ModuleManifest,
|
||||
NavItem,
|
||||
PermissionDefinition,
|
||||
ProductAreaContribution,
|
||||
RoleTemplate,
|
||||
)
|
||||
from govoplan_core.core.provider_governance import declared_module_architecture
|
||||
@@ -284,6 +285,17 @@ manifest = ModuleManifest(
|
||||
order=75,
|
||||
),
|
||||
),
|
||||
product_areas=(
|
||||
ProductAreaContribution(
|
||||
id="records-documents",
|
||||
module_id=MODULE_ID,
|
||||
label="i18n:govoplan-core.product_area.records_documents",
|
||||
icon="folder",
|
||||
description="i18n:govoplan-core.product_area.records_documents_description",
|
||||
surface_ids=("templates.nav.templates", "templates.route.templates"),
|
||||
order=30,
|
||||
),
|
||||
),
|
||||
view_surfaces=(
|
||||
ViewSurface(id="templates.page", module_id=MODULE_ID, kind="route", label="Templates", order=75),
|
||||
ViewSurface(id="templates.library", module_id=MODULE_ID, kind="section", label="Template library", order=10),
|
||||
|
||||
Reference in New Issue
Block a user