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', path: 'home',
loadChildren: () => import('./ui/dashboard/dashboard.module').then(m => m.DashboardModule), loadChildren: () => import('./ui/dashboard/dashboard.module').then(m => m.DashboardModule),
data: { data: {
breadcrumb: true breadcrumb: true,
title: 'GENERAL.TITLES.HOME'
} }
}, },
{ {

View File

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

View File

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

View File

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

View File

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