breadcrumb navigation refactor
This commit is contained in:
parent
05eb000ba3
commit
386aa5de05
|
@ -47,9 +47,6 @@ const routes: Routes = [
|
||||||
'entity': DescriptionTemplateEditorResolver
|
'entity': DescriptionTemplateEditorResolver
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
...BreadcrumbService.generateRouteDataConfiguration({
|
|
||||||
title: 'BREADCRUMBS.EDIT-DESCRIPTION-TEMPLATES'
|
|
||||||
}),
|
|
||||||
authContext: {
|
authContext: {
|
||||||
permissions: [AppPermission.EditDescriptionTemplate]
|
permissions: [AppPermission.EditDescriptionTemplate]
|
||||||
},
|
},
|
||||||
|
@ -67,9 +64,6 @@ const routes: Routes = [
|
||||||
'entity': DescriptionTemplateEditorResolver
|
'entity': DescriptionTemplateEditorResolver
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
...BreadcrumbService.generateRouteDataConfiguration({
|
|
||||||
title: 'BREADCRUMBS.EDIT-DESCRIPTION-TEMPLATES'
|
|
||||||
}),
|
|
||||||
authContext: {
|
authContext: {
|
||||||
permissions: [AppPermission.EditDescriptionTemplate]
|
permissions: [AppPermission.EditDescriptionTemplate]
|
||||||
},
|
},
|
||||||
|
@ -87,9 +81,6 @@ const routes: Routes = [
|
||||||
'entity': DescriptionTemplateEditorResolver
|
'entity': DescriptionTemplateEditorResolver
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
...BreadcrumbService.generateRouteDataConfiguration({
|
|
||||||
title: 'BREADCRUMBS.EDIT-DESCRIPTION-TEMPLATES'
|
|
||||||
}),
|
|
||||||
authContext: {
|
authContext: {
|
||||||
permissions: [AppPermission.EditDescriptionTemplate]
|
permissions: [AppPermission.EditDescriptionTemplate]
|
||||||
},
|
},
|
||||||
|
|
|
@ -2,9 +2,8 @@
|
||||||
<div id="header-outer-wrapper" *ngIf="formGroup">
|
<div id="header-outer-wrapper" *ngIf="formGroup">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 d-flex" id="title-column">
|
<div class="col-12 d-flex" id="title-column">
|
||||||
|
|
||||||
<div style="padding-left: 2em;">
|
<div style="padding-left: 2em;">
|
||||||
<h3 *ngIf="isNew == true && isClone == false && isNewVersion == false">{{'DESCRIPTION-TEMPLATE-EDITOR.TITLE.NEW-PROFILE' | translate}}</h3>
|
<!-- <h3 *ngIf="isNew == true && isClone == false && isNewVersion == false">{{'DESCRIPTION-TEMPLATE-EDITOR.TITLE.NEW-PROFILE' | translate}}</h3>
|
||||||
<h3 *ngIf="isNew == false && isClone == true && isNewVersion == false">
|
<h3 *ngIf="isNew == false && isClone == true && isNewVersion == false">
|
||||||
<span *ngIf="isClone">{{'DESCRIPTION-TEMPLATE-EDITOR.TITLE.NEW-PROFILE-CLONE' | translate}}</span>
|
<span *ngIf="isClone">{{'DESCRIPTION-TEMPLATE-EDITOR.TITLE.NEW-PROFILE-CLONE' | translate}}</span>
|
||||||
{{formGroup.get('label').value}}
|
{{formGroup.get('label').value}}
|
||||||
|
@ -12,9 +11,8 @@
|
||||||
<h3 *ngIf="isNew == false && isClone == false && isNewVersion == true">
|
<h3 *ngIf="isNew == false && isClone == false && isNewVersion == true">
|
||||||
<span *ngIf="isNewVersion">{{'DESCRIPTION-TEMPLATE-EDITOR.TITLE.NEW-PROFILE-VERSION' | translate}}</span>
|
<span *ngIf="isNewVersion">{{'DESCRIPTION-TEMPLATE-EDITOR.TITLE.NEW-PROFILE-VERSION' | translate}}</span>
|
||||||
{{formGroup.get('label').value}}
|
{{formGroup.get('label').value}}
|
||||||
</h3>
|
</h3> -->
|
||||||
|
<!-- <h3 *ngIf="!isNew">{{formGroup.get('label').value}}</h3> -->
|
||||||
<h3 *ngIf="!isNew">{{formGroup.get('label').value}}</h3>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
</div>
|
</div>
|
||||||
<ng-container *ngTemplateOutlet="actions"></ng-container>
|
<ng-container *ngTemplateOutlet="actions"></ng-container>
|
||||||
|
|
|
@ -106,9 +106,9 @@ export class DescriptionTemplateEditorResolver extends BaseEditorResolver {
|
||||||
if (id != null) {
|
if (id != null) {
|
||||||
return this.descriptionTemplateService.getSingle(Guid.parse(id), fieldSets).pipe(tap(x => this.breadcrumbService.addIdResolvedValue(x.id?.toString(), x.label)), takeUntil(this._destroyed));
|
return this.descriptionTemplateService.getSingle(Guid.parse(id), fieldSets).pipe(tap(x => this.breadcrumbService.addIdResolvedValue(x.id?.toString(), x.label)), takeUntil(this._destroyed));
|
||||||
} else if (cloneid != null) {
|
} else if (cloneid != null) {
|
||||||
return this.descriptionTemplateService.clone(Guid.parse(cloneid), fieldSets).pipe(tap(x => this.breadcrumbService.addIdResolvedValue(x.id?.toString(), x.label)), takeUntil(this._destroyed));
|
return this.descriptionTemplateService.clone(Guid.parse(cloneid), fieldSets).pipe(tap(x => this.breadcrumbService.addIdResolvedValue(cloneid, x.label)), takeUntil(this._destroyed));
|
||||||
} else if (newversion != null) {
|
} else if (newversion != null) {
|
||||||
return this.descriptionTemplateService.getSingle(Guid.parse(newversion), fieldSets).pipe(tap(x => this.breadcrumbService.addIdResolvedValue(x.id?.toString(), x.label)), takeUntil(this._destroyed));
|
return this.descriptionTemplateService.getSingle(Guid.parse(newversion), fieldSets).pipe(tap(x => this.breadcrumbService.addIdResolvedValue(newversion, x.label)), takeUntil(this._destroyed));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,7 @@
|
||||||
<div class="col-md-10 offset-md-1">
|
<div class="col-md-10 offset-md-1">
|
||||||
<div class="row mb-4 mt-4">
|
<div class="row mb-4 mt-4">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h4>{{'DESCRIPTION-TEMPLATE-LISTING.TITLE' | translate}}</h4>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
<button mat-raised-button class="import-btn" (click)="import()">
|
<button mat-raised-button class="import-btn" (click)="import()">
|
||||||
|
|
|
@ -39,9 +39,6 @@ const routes: Routes = [
|
||||||
'entity': DescriptionTemplateTypeEditorResolver
|
'entity': DescriptionTemplateTypeEditorResolver
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
...BreadcrumbService.generateRouteDataConfiguration({
|
|
||||||
title: 'BREADCRUMBS.EDIT-DESCRIPTION-TEMPLATE-TYPE'
|
|
||||||
}),
|
|
||||||
getFromTitleService: true,
|
getFromTitleService: true,
|
||||||
usePrefix: false,
|
usePrefix: false,
|
||||||
authContext: {
|
authContext: {
|
||||||
|
|
|
@ -4,8 +4,6 @@
|
||||||
|
|
||||||
<div class="row justify-content-between align-items-center mb-4 mt-4">
|
<div class="row justify-content-between align-items-center mb-4 mt-4">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h3 *ngIf="isNew">{{'DESCRIPTION-TEMPLATE-TYPE-EDITOR.NEW' | translate}}</h3>
|
|
||||||
<h3 *ngIf="!isNew">{{formGroup?.get('name')?.value}}</h3>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,7 @@
|
||||||
<div class="col-md-10 offset-md-1">
|
<div class="col-md-10 offset-md-1">
|
||||||
<div class="row mb-4 mt-4">
|
<div class="row mb-4 mt-4">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h4>{{'DESCRIPTION-TEMPLATE-TYPE-LISTING.TITLE' | translate}}</h4>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
<button mat-raised-button class="create-btn"
|
<button mat-raised-button class="create-btn"
|
||||||
|
|
|
@ -87,9 +87,6 @@ const routes: Routes = [
|
||||||
'entity': DmpBlueprintEditorResolver
|
'entity': DmpBlueprintEditorResolver
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
...BreadcrumbService.generateRouteDataConfiguration({
|
|
||||||
title: 'BREADCRUMBS.EDIT-DMP-BLUEPRINT'
|
|
||||||
}),
|
|
||||||
authContext: {
|
authContext: {
|
||||||
permissions: [AppPermission.EditDmpBlueprint]
|
permissions: [AppPermission.EditDmpBlueprint]
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<div class="col-md-10 offset-md-1">
|
<div class="col-md-10 offset-md-1">
|
||||||
<div class="row align-items-center mt-4 mb-4" *ngIf="formGroup">
|
<div class="row align-items-center mt-4 mb-4" *ngIf="formGroup">
|
||||||
<div class="col-md col-12">
|
<div class="col-md col-12">
|
||||||
<h3 *ngIf="!isFinalized && !isNewVersion && isNew">{{'DMP-BLUEPRINT-EDITOR.TITLE.NEW' | translate}}</h3>
|
<!-- <h3 *ngIf="!isFinalized && !isNewVersion && isNew">{{'DMP-BLUEPRINT-EDITOR.TITLE.NEW' | translate}}</h3>
|
||||||
<h3 *ngIf="!isClone && !isNewVersion && !isNew">{{formGroup.get('label').value}}</h3>
|
<h3 *ngIf="!isClone && !isNewVersion && !isNew">{{formGroup.get('label').value}}</h3>
|
||||||
<h3 *ngIf="isClone">
|
<h3 *ngIf="isClone">
|
||||||
<span>{{'DMP-BLUEPRINT-EDITOR.TITLE.CLONE' | translate}}</span>
|
<span>{{'DMP-BLUEPRINT-EDITOR.TITLE.CLONE' | translate}}</span>
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
<h3 *ngIf="isNewVersion">
|
<h3 *ngIf="isNewVersion">
|
||||||
<span>{{'DMP-BLUEPRINT-EDITOR.TITLE.NEW-VERSION' | translate}}</span>
|
<span>{{'DMP-BLUEPRINT-EDITOR.TITLE.NEW-VERSION' | translate}}</span>
|
||||||
{{formGroup.get('label').value}}
|
{{formGroup.get('label').value}}
|
||||||
</h3>
|
</h3> -->
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-auto mb-md-0 col-12 mb-2" *ngIf="!isNew && !isClone && !isNewVersion && this.editorModel.belongsToCurrentTenant != false">
|
<div class="col-md-auto mb-md-0 col-12 mb-2" *ngIf="!isNew && !isClone && !isNewVersion && this.editorModel.belongsToCurrentTenant != false">
|
||||||
|
|
|
@ -69,9 +69,9 @@ export class DmpBlueprintEditorResolver extends BaseEditorResolver {
|
||||||
if (id != null) {
|
if (id != null) {
|
||||||
return this.dmpBlueprintService.getSingle(Guid.parse(id), fields).pipe(tap(x => this.breadcrumbService.addIdResolvedValue(x.id?.toString(), x.label)), takeUntil(this._destroyed));
|
return this.dmpBlueprintService.getSingle(Guid.parse(id), fields).pipe(tap(x => this.breadcrumbService.addIdResolvedValue(x.id?.toString(), x.label)), takeUntil(this._destroyed));
|
||||||
} else if (cloneid != null) {
|
} else if (cloneid != null) {
|
||||||
return this.dmpBlueprintService.clone(Guid.parse(cloneid), fields).pipe(tap(x => this.breadcrumbService.addIdResolvedValue(x.id?.toString(), x.label)), takeUntil(this._destroyed));
|
return this.dmpBlueprintService.clone(Guid.parse(cloneid), fields).pipe(tap(x => this.breadcrumbService.addIdResolvedValue(cloneid, x.label)), takeUntil(this._destroyed));
|
||||||
} else if (newversion != null) {
|
} else if (newversion != null) {
|
||||||
return this.dmpBlueprintService.getSingle(Guid.parse(newversion), fields).pipe(tap(x => this.breadcrumbService.addIdResolvedValue(x.id?.toString(), x.label)), takeUntil(this._destroyed));
|
return this.dmpBlueprintService.getSingle(Guid.parse(newversion), fields).pipe(tap(x => this.breadcrumbService.addIdResolvedValue(newversion, x.label)), takeUntil(this._destroyed));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,11 +2,8 @@
|
||||||
<div class="row dmp-blueprint-listing">
|
<div class="row dmp-blueprint-listing">
|
||||||
<div class="col-md-10 offset-md-1">
|
<div class="col-md-10 offset-md-1">
|
||||||
<div class="row mb-4 mt-4">
|
<div class="row mb-4 mt-4">
|
||||||
|
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h4>{{'DMP-BLUEPRINT-LISTING.TITLE' | translate}}</h4>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
<button mat-raised-button class="import-btn" (click)="import()">
|
<button mat-raised-button class="import-btn" (click)="import()">
|
||||||
|
|
|
@ -4,9 +4,7 @@
|
||||||
|
|
||||||
<div class="row mb-4 mt-4">
|
<div class="row mb-4 mt-4">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h4>{{'LOCK-LISTING.TITLE' | translate}}</h4>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
<div class="col-md-10 offset-md-1 colums-gapped">
|
<div class="col-md-10 offset-md-1 colums-gapped">
|
||||||
<div class="row align-items-center mt-4 mb-4" *ngIf="formGroup">
|
<div class="row align-items-center mt-4 mb-4" *ngIf="formGroup">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h3 *ngIf="isNew && !isClone">{{'LANGUAGE-EDITOR.NEW' | translate}}</h3>
|
|
||||||
<h3 *ngIf="!isNew">{{ formGroup.get('code')?.value }}</h3>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
|
|
|
@ -39,9 +39,6 @@ const routes: Routes = [
|
||||||
'entity': LanguageEditorResolver
|
'entity': LanguageEditorResolver
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
...BreadcrumbService.generateRouteDataConfiguration({
|
|
||||||
title: 'BREADCRUMBS.EDIT-LANGUAGE'
|
|
||||||
}),
|
|
||||||
authContext: {
|
authContext: {
|
||||||
permissions: [AppPermission.EditLanguage]
|
permissions: [AppPermission.EditLanguage]
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,9 +3,7 @@
|
||||||
<div class="col-md-10 offset-md-1">
|
<div class="col-md-10 offset-md-1">
|
||||||
<div class="row mb-4 mt-4">
|
<div class="row mb-4 mt-4">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h4>{{'LANGUAGE-LISTING.TITLE' | translate}}</h4>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
<button mat-raised-button class="create-btn"
|
<button mat-raised-button class="create-btn"
|
||||||
|
|
|
@ -4,8 +4,6 @@
|
||||||
|
|
||||||
<div class="row justify-content-between align-items-center mt-4 mb-4">
|
<div class="row justify-content-between align-items-center mt-4 mb-4">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h3 *ngIf="isNew">{{'PREFILLING-SOURCE-EDITOR.NEW' | translate}}</h3>
|
|
||||||
<h3 *ngIf="!isNew">{{ formGroup.get('label')?.value }}</h3>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
|
|
|
@ -4,9 +4,7 @@
|
||||||
|
|
||||||
<div class="row mb-4 mt-4">
|
<div class="row mb-4 mt-4">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h4>{{'PREFILLING-SOURCE-LISTING.TITLE' | translate}}</h4>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
<button mat-raised-button class="create-btn"
|
<button mat-raised-button class="create-btn"
|
||||||
|
|
|
@ -39,9 +39,6 @@ const routes: Routes = [
|
||||||
'entity': PrefillingSourceEditorResolver
|
'entity': PrefillingSourceEditorResolver
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
...BreadcrumbService.generateRouteDataConfiguration({
|
|
||||||
title: 'BREADCRUMBS.EDIT-PREFILLING-SOURCE'
|
|
||||||
}),
|
|
||||||
authContext: {
|
authContext: {
|
||||||
permissions: [AppPermission.EditPrefillingSource]
|
permissions: [AppPermission.EditPrefillingSource]
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
<div class="col-md-10 offset-md-1 colums-gapped">
|
<div class="col-md-10 offset-md-1 colums-gapped">
|
||||||
<div class="row align-items-center mt-4 mb-4">
|
<div class="row align-items-center mt-4 mb-4">
|
||||||
<div class="col-md col-12">
|
<div class="col-md col-12">
|
||||||
<h3 *ngIf="isNew">{{'REFERENCE-TYPE-EDITOR.NEW' | translate}}</h3>
|
|
||||||
<h3 *ngIf="!isNew">{{ formGroup?.get('name')?.value }}</h3>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,7 @@
|
||||||
|
|
||||||
<div class="row mb-4 mt-4">
|
<div class="row mb-4 mt-4">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h4>{{'REFERENCE-TYPE-LISTING.TITLE' | translate}}</h4>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
<button mat-raised-button class="create-btn"
|
<button mat-raised-button class="create-btn"
|
||||||
|
|
|
@ -40,9 +40,6 @@ const routes: Routes = [
|
||||||
'entity': ReferenceTypeEditorResolver
|
'entity': ReferenceTypeEditorResolver
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
...BreadcrumbService.generateRouteDataConfiguration({
|
|
||||||
title: 'BREADCRUMBS.EDIT-REFERENCE-TYPE'
|
|
||||||
}),
|
|
||||||
authContext: {
|
authContext: {
|
||||||
permissions: [AppPermission.EditReferenceType]
|
permissions: [AppPermission.EditReferenceType]
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
<div class="col-md-10 offset-md-1 colums-gapped">
|
<div class="col-md-10 offset-md-1 colums-gapped">
|
||||||
<div class="row align-items-center mt-4 mb-4" *ngIf="formGroup">
|
<div class="row align-items-center mt-4 mb-4" *ngIf="formGroup">
|
||||||
<div class="col-md col-12">
|
<div class="col-md col-12">
|
||||||
<h3 *ngIf="isNew && !isClone">{{'REFERENCE-EDITOR.NEW' | translate}}</h3>
|
|
||||||
<h3 *ngIf="!isNew">{{ formGroup.get('label').value }}</h3>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
|
|
|
@ -4,9 +4,7 @@
|
||||||
<div class="col-md-10 offset-md-1">
|
<div class="col-md-10 offset-md-1">
|
||||||
<div class="row mb-4 mt-4">
|
<div class="row mb-4 mt-4">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h4>{{'REFERENCE-LISTING.TITLE' | translate}}</h4>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
<button mat-raised-button class="create-btn"
|
<button mat-raised-button class="create-btn"
|
||||||
|
|
|
@ -43,9 +43,6 @@ const routes: Routes = [
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
breadcrumb: true,
|
breadcrumb: true,
|
||||||
...BreadcrumbService.generateRouteDataConfiguration({
|
|
||||||
title: 'BREADCRUMBS.EDIT-REFERENCE'
|
|
||||||
}),
|
|
||||||
authContext: {
|
authContext: {
|
||||||
permissions: [AppPermission.EditReference]
|
permissions: [AppPermission.EditReference]
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
<div class="col-md-10 offset-md-1">
|
<div class="col-md-10 offset-md-1">
|
||||||
<div class="row align-items-center mb-4 mt-4" >
|
<div class="row align-items-center mb-4 mt-4" >
|
||||||
<div class="col-md col-12">
|
<div class="col-md col-12">
|
||||||
<h3>{{'TENANT-CONFIGURATION-EDITOR.TITLE' | translate}}</h3>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<div class="main-content listing-main-container h-100">
|
<div class="main-content listing-main-container h-100">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="d-flex flex-direction-row">
|
<div class="row">
|
||||||
<div *ngIf="hasListingItems && listingItems && listingItems.length === 0 && !hasLikeCriteria()" class="card mt-0">
|
<div *ngIf="hasListingItems && listingItems && listingItems.length === 0 && !hasLikeCriteria()" class="card mt-0">
|
||||||
<!-- <div class="card mt-0" [style.display]="isVisible ? 'block' : 'none'"> -->
|
<!-- <div class="card mt-0" [style.display]="isVisible ? 'block' : 'none'"> -->
|
||||||
<!-- <a class="col-auto d-flex" (click)="closeCard()"><span class="ml-auto pt-3 material-icons clear-icon">clear</span></a> -->
|
<!-- <a class="col-auto d-flex" (click)="closeCard()"><span class="ml-auto pt-3 material-icons clear-icon">clear</span></a> -->
|
||||||
|
|
|
@ -126,7 +126,7 @@ export class DmpOverviewComponent extends BaseComponent implements OnInit {
|
||||||
this.dmpService.getSingle(itemId, this.lookupFields())
|
this.dmpService.getSingle(itemId, this.lookupFields())
|
||||||
.pipe(takeUntil(this._destroyed))
|
.pipe(takeUntil(this._destroyed))
|
||||||
.subscribe(data => {
|
.subscribe(data => {
|
||||||
this.breadcrumbService.addIdResolvedValue(data.id.toString(), data.label);
|
this.breadcrumbService.addIdResolvedValue(data.id?.toString(), data.label);
|
||||||
|
|
||||||
this.dmp = data;
|
this.dmp = data;
|
||||||
this.dmp.dmpUsers = data.dmpUsers.filter(x => x.isActive === IsActive.Active);
|
this.dmp.dmpUsers = data.dmpUsers.filter(x => x.isActive === IsActive.Active);
|
||||||
|
@ -169,7 +169,7 @@ export class DmpOverviewComponent extends BaseComponent implements OnInit {
|
||||||
this.dmpService.getPublicSingle(publicId, this.lookupFields())
|
this.dmpService.getPublicSingle(publicId, this.lookupFields())
|
||||||
.pipe(takeUntil(this._destroyed))
|
.pipe(takeUntil(this._destroyed))
|
||||||
.subscribe(data => {
|
.subscribe(data => {
|
||||||
this.breadcrumbService.addIdResolvedValue(`${data.id}`, data.label);
|
this.breadcrumbService.addIdResolvedValue(data.id?.toString(), data.label);
|
||||||
|
|
||||||
this.dmp = data;
|
this.dmp = data;
|
||||||
this.researchers = this.referenceService.getReferencesForTypes(this.dmp?.dmpReferences, [this.referenceTypeService.getResearcherReferenceType()]);
|
this.researchers = this.referenceService.getReferencesForTypes(this.dmp?.dmpReferences, [this.referenceTypeService.getResearcherReferenceType()]);
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
<div class="col-md-10 offset-md-1 colums-gapped">
|
<div class="col-md-10 offset-md-1 colums-gapped">
|
||||||
<div class="row align-items-center mt-4 mb-4" *ngIf="formGroup">
|
<div class="row align-items-center mt-4 mb-4" *ngIf="formGroup">
|
||||||
<div class="col-md col-12">
|
<div class="col-md col-12">
|
||||||
<h3 *ngIf="isNew && !isClone">{{'NOTIFICATION-SERVICE.NOTIFICATION-TEMPLATE-EDITOR.NEW' | translate}}</h3>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
|
|
|
@ -4,9 +4,7 @@
|
||||||
|
|
||||||
<div class="row mb-4 mt-4">
|
<div class="row mb-4 mt-4">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h4>{{'NOTIFICATION-SERVICE.NOTIFICATION-TEMPLATE-LISTING.TITLE' | translate}}</h4>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
<button mat-raised-button class="create-btn"
|
<button mat-raised-button class="create-btn"
|
||||||
|
|
|
@ -39,9 +39,6 @@ const routes: Routes = [
|
||||||
'entity': NotificationTemplateEditorResolver
|
'entity': NotificationTemplateEditorResolver
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
...BreadcrumbService.generateRouteDataConfiguration({
|
|
||||||
title: 'BREADCRUMBS.EDIT-TENANT'
|
|
||||||
}),
|
|
||||||
authContext: {
|
authContext: {
|
||||||
permissions: [AppPermission.EditNotificationTemplate]
|
permissions: [AppPermission.EditNotificationTemplate]
|
||||||
},
|
},
|
||||||
|
|
|
@ -3,9 +3,7 @@
|
||||||
<div class="col-md-10 offset-md-1">
|
<div class="col-md-10 offset-md-1">
|
||||||
<div class="row mb-4 mt-4">
|
<div class="row mb-4 mt-4">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h4>{{'NOTIFICATION-SERVICE.NOTIFICATION-LISTING.TITLE' | translate}}</h4>
|
|
||||||
<app-navigation-breadcrumb />
|
<app-navigation-breadcrumb />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue