98211: Created advanced workflow task pages

This commit is contained in:
Alexandre Vryghem
2023-01-04 17:01:48 +01:00
parent 0fb9970734
commit 947658dd08
32 changed files with 368 additions and 40 deletions

View File

@@ -8,8 +8,7 @@ import {
WORKFLOW_ITEM_EDIT_PATH,
WORKFLOW_ITEM_SEND_BACK_PATH,
WORKFLOW_ITEM_VIEW_PATH,
WORKFLOW_SELECT_REVIEWER_PATH,
WORKFLOW_RATING_REVIEWER_PATH,
ADVANCED_WORKFLOW_PATH,
} from './workflowitems-edit-page-routing-paths';
import { ThemedSubmissionEditComponent } from '../submission/edit/themed-submission-edit.component';
import { ThemedWorkflowItemDeleteComponent } from './workflow-item-delete/themed-workflow-item-delete.component';
@@ -17,6 +16,9 @@ import { ThemedWorkflowItemSendBackComponent } from './workflow-item-send-back/t
import { I18nBreadcrumbResolver } from '../core/breadcrumbs/i18n-breadcrumb.resolver';
import { ItemFromWorkflowResolver } from './item-from-workflow.resolver';
import { ThemedFullItemPageComponent } from '../item-page/full/themed-full-item-page.component';
import {
AdvancedWorkflowActionPageComponent
} from './advanced-workflow-action/advanced-workflow-action-page/advanced-workflow-action-page.component';
@NgModule({
imports: [
@@ -64,21 +66,12 @@ import { ThemedFullItemPageComponent } from '../item-page/full/themed-full-item-
},
{
canActivate: [AuthenticatedGuard],
path: WORKFLOW_SELECT_REVIEWER_PATH,
component: ThemedWorkflowItemSendBackComponent,
path: ADVANCED_WORKFLOW_PATH,
component: AdvancedWorkflowActionPageComponent,
resolve: {
breadcrumb: I18nBreadcrumbResolver
},
data: { title: 'workflow-item.select-reviewer.title', breadcrumbKey: 'workflow-item.edit' }
},
{
canActivate: [AuthenticatedGuard],
path: WORKFLOW_RATING_REVIEWER_PATH,
component: ThemedWorkflowItemSendBackComponent,
resolve: {
breadcrumb: I18nBreadcrumbResolver
},
data: { title: 'workflow-item.rating-reviewer.title', breadcrumbKey: 'workflow-item.edit' }
data: { title: 'workflow-item.advanced.title', breadcrumbKey: 'workflow-item.edit' }
},
]
}]