fix dmp, description, home title tabs

This commit is contained in:
amentis 2024-04-24 12:02:01 +03:00
parent a7c49ca4af
commit a6118f44e3
5 changed files with 21 additions and 10 deletions

View File

@ -16,7 +16,8 @@ const appRoutes: Routes = [
path: 'home',
loadChildren: () => import('./ui/dashboard/dashboard.module').then(m => m.DashboardModule),
data: {
breadcrumb: true
breadcrumb: true,
title: 'GENERAL.TITLES.HOME'
}
},
{

View File

@ -21,7 +21,8 @@ const routes: Routes = [
data: {
...BreadcrumbService.generateRouteDataConfiguration({
title: 'BREADCRUMBS.EDIT-DESCRIPTION'
})
}),
title: 'DESCRIPTION-EDITOR.TITLE-EDIT-DESCRIPTION'
// ,
// authContext: {
// permissions: [AppPermission.EditDescription]
@ -39,7 +40,8 @@ const routes: Routes = [
data: {
...BreadcrumbService.generateRouteDataConfiguration({
title: 'BREADCRUMBS.EDIT-DESCRIPTION'
})
}),
title: 'DESCRIPTION-EDITOR.TITLE-EDIT-DESCRIPTION'
// ,
// authContext: {
// permissions: [AppPermission.EditDescription]
@ -57,7 +59,8 @@ const routes: Routes = [
data: {
...BreadcrumbService.generateRouteDataConfiguration({
title: 'BREADCRUMBS.EDIT-DESCRIPTION'
})
}),
title: 'DESCRIPTION-EDITOR.TITLE-NEW'
// ,
// authContext: {
// permissions: [AppPermission.EditDescription]
@ -75,7 +78,8 @@ const routes: Routes = [
data: {
...BreadcrumbService.generateRouteDataConfiguration({
title: 'BREADCRUMBS.EDIT-DESCRIPTION'
})
}),
title: 'DESCRIPTION-EDITOR.TITLE-NEW'
// ,
// authContext: {
// permissions: [AppPermission.EditDescription]

View File

@ -13,14 +13,16 @@ const routes: Routes = [
path: 'new',
loadChildren: () => import('./dmp-editor-blueprint/dmp-editor.module').then(m => m.DmpEditorModule),
data: {
breadcrumb: true
breadcrumb: true,
title: 'DMP-EDITOR.TITLE-NEW'
}
},
{
path: 'edit',
loadChildren: () => import('./dmp-editor-blueprint/dmp-editor.module').then(m => m.DmpEditorModule),
data: {
breadcrumb: true
breadcrumb: true,
title: 'DMP-EDITOR.TITLE-EDIT'
}
},
{

View File

@ -8,7 +8,7 @@ const routes: Routes = [
component: DmpOverviewComponent,
data: {
breadcrumb: true,
title: 'GENERAL.TITLES.DATASET-OVERVIEW'
title: 'GENERAL.TITLES.PLAN-OVERVIEW'
},
},
{
@ -16,7 +16,7 @@ const routes: Routes = [
component: DmpOverviewComponent,
data: {
breadcrumb: true,
title: 'GENERAL.TITLES.DATASET-OVERVIEW'
title: 'GENERAL.TITLES.PLAN-OVERVIEW'
},
}
];

View File

@ -93,8 +93,10 @@
"USERS": "Users",
"PROFILE": "My Profile",
"LOGIN": "Login",
"PLAN-OVERVIEW": "Plan Overview",
"DATASET-OVERVIEW": "Description Overview",
"MAINTENANCE-TASKS": "Maintenance"
"MAINTENANCE-TASKS": "Maintenance",
"HOME": "Home"
},
"FILE-TRANSFORMER": {
"PDF": "PDF",
@ -754,6 +756,7 @@
"EMPTY-LIST": "Nothing here yet."
},
"DESCRIPTION-EDITOR": {
"TITLE-NEW": "New Description",
"TITLE-ADD-DESCRIPTION": "Adding Description",
"TITLE-EDIT-DESCRIPTION": "Editing Description",
"TITLE-PREVIEW-DESCRIPTION": "Previewing Description",
@ -1446,6 +1449,7 @@
}
},
"DMP-EDITOR": {
"TITLE-NEW": "New Plan",
"TITLE-EDIT": "Editing Plan",
"TITLE": "Plan Blueprint",
"UNSAVED-CHANGES": "unsaved changes",