49 lines
2.3 KiB
HTML
49 lines
2.3 KiB
HTML
<mat-accordion #facetAccordion="matAccordion" [multi]="true">
|
|
<mat-expansion-panel>
|
|
<mat-expansion-panel-header>
|
|
<mat-panel-title>
|
|
{{ 'FACET-SEARCH.PROJECT-STATUS.TITLE' | translate }}
|
|
</mat-panel-title>
|
|
</mat-expansion-panel-header>
|
|
<app-facet-section-component [multipleSelect]="false" [options]="this.projectStateOptions" (selectedChanged)="projectStatusChanged($event)"
|
|
[displayTitleFunc]="displayProjectStateLabel" [displayValueFunc]="displayProjectStateValue">
|
|
|
|
</app-facet-section-component>
|
|
</mat-expansion-panel>
|
|
<mat-expansion-panel *ngIf="this.facetCriteria.projectStatus == ProjectStateType.OnGoing || this.facetCriteria.projectStatus == ProjectStateType.Finished">
|
|
<mat-expansion-panel-header>
|
|
<mat-panel-title>
|
|
{{ 'FACET-SEARCH.PROJECT.TITLE' | translate }}
|
|
</mat-panel-title>
|
|
</mat-expansion-panel-header>
|
|
|
|
<app-facet-section-component [options]="this.projects" (selectedChanged)="projectChanged($event)" [filterOptions]="projectSearch.bind(this)"
|
|
[searchEnabled]="true" (optionRemoved)="removeProject($event)" [displayTitleFunc]="displayProjectLabel"
|
|
[displayValueFunc]="displayProjectValue">
|
|
</app-facet-section-component>
|
|
</mat-expansion-panel>
|
|
<mat-expansion-panel>
|
|
<mat-expansion-panel-header>
|
|
<mat-panel-title>
|
|
{{ 'FACET-SEARCH.PROFILES.TITLE' | translate }}
|
|
</mat-panel-title>
|
|
</mat-expansion-panel-header>
|
|
<app-facet-section-component [options]="this.profiles" (selectedChanged)="profileChanged($event)" [filterOptions]="profileSearch.bind(this)"
|
|
[searchEnabled]="true" (optionRemoved)="removeProfile($event)" [displayTitleFunc]="displayProfileLabel"
|
|
[displayValueFunc]="displayProfileValue">
|
|
</app-facet-section-component>
|
|
</mat-expansion-panel>
|
|
<mat-expansion-panel>
|
|
<mat-expansion-panel-header>
|
|
<mat-panel-title>
|
|
{{ 'FACET-SEARCH.DMP-ORGANISATIONS.TITLE' | translate }}
|
|
</mat-panel-title>
|
|
</mat-expansion-panel-header>
|
|
|
|
<app-facet-section-component [options]="this.dmpOrganisations" (selectedChanged)="dmpOrganisationChanged($event)"
|
|
[filterOptions]="dmpOrganisationSearch.bind(this)" (optionRemoved)="removeOrganisation($event)" [searchEnabled]="true"
|
|
[displayTitleFunc]="displayDmpOrganisationsLabel" [displayValueFunc]="displayDmpOrganisationsValue">
|
|
</app-facet-section-component>
|
|
</mat-expansion-panel>
|
|
</mat-accordion>
|