added dmp editor breadcrumbs
This commit is contained in:
parent
908a284d57
commit
768fca8608
|
@ -33,6 +33,11 @@
|
||||||
<!-- First Step -->
|
<!-- First Step -->
|
||||||
<div class="row" id="editor-form" *ngIf="this.step === 0 && this.isNew">
|
<div class="row" id="editor-form" *ngIf="this.step === 0 && this.isNew">
|
||||||
<div class="col-12 blueprint-section">
|
<div class="col-12 blueprint-section">
|
||||||
|
<div class="row stepper-title m-0 p-0">
|
||||||
|
<div class="col-12">
|
||||||
|
<app-navigation-breadcrumb />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="heading2 col-12">{{'DMP-EDITOR.FIELDS.TITLE' | translate}} *</div>
|
<div class="heading2 col-12">{{'DMP-EDITOR.FIELDS.TITLE' | translate}} *</div>
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
|
@ -81,8 +86,11 @@
|
||||||
<!-- <div class="col-auto dmp-stepper" *ngIf="this.step != 0"> -->
|
<!-- <div class="col-auto dmp-stepper" *ngIf="this.step != 0"> -->
|
||||||
<div class="col-12 col-md-3 pr-md-0" *ngIf="this.step != 0">
|
<div class="col-12 col-md-3 pr-md-0" *ngIf="this.step != 0">
|
||||||
<div class="row stepper-title">
|
<div class="row stepper-title">
|
||||||
|
<div class="col-12 pl-0 mb-1">
|
||||||
|
<span class="font-weight-bold">{{'DMP-EDITOR.TITLE' | translate}}</span>
|
||||||
|
</div>
|
||||||
<div class="col-12 pl-0">
|
<div class="col-12 pl-0">
|
||||||
<span>{{'DMP-EDITOR.TITLE' | translate}}</span>
|
<app-navigation-breadcrumb />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row stepper-options">
|
<div class="row stepper-options">
|
||||||
|
|
|
@ -16,8 +16,9 @@ const routes: Routes = [
|
||||||
canActivate: [AuthGuard],
|
canActivate: [AuthGuard],
|
||||||
canDeactivate: [PendingChangesGuard],
|
canDeactivate: [PendingChangesGuard],
|
||||||
data: {
|
data: {
|
||||||
|
breadcrumb: true,
|
||||||
...BreadcrumbService.generateRouteDataConfiguration({
|
...BreadcrumbService.generateRouteDataConfiguration({
|
||||||
title: 'BREADCRUMBS.NEW-DMP'
|
hideNavigationItem: true
|
||||||
}),
|
}),
|
||||||
authContext: {
|
authContext: {
|
||||||
permissions: [AppPermission.NewDmp]
|
permissions: [AppPermission.NewDmp]
|
||||||
|
@ -33,8 +34,9 @@ const routes: Routes = [
|
||||||
'entity': DmpEditorResolver
|
'entity': DmpEditorResolver
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
|
breadcrumb: true,
|
||||||
...BreadcrumbService.generateRouteDataConfiguration({
|
...BreadcrumbService.generateRouteDataConfiguration({
|
||||||
title: 'BREADCRUMBS.EDIT-DMP'
|
hideNavigationItem: true
|
||||||
}),
|
}),
|
||||||
getFromTitleService: true,
|
getFromTitleService: true,
|
||||||
usePrefix: false
|
usePrefix: false
|
||||||
|
|
Loading…
Reference in New Issue