2019-01-18 18:03:45 +01:00
|
|
|
<div class="dmp-criteria">
|
2019-05-06 12:15:45 +02:00
|
|
|
<div class="filters">
|
|
|
|
<h6 class="filters-title">{{'CRITERIA.FILTERS'| translate}}</h6>
|
|
|
|
<div class="row" style="justify-content: center;">
|
2019-05-06 15:35:46 +02:00
|
|
|
<!-- Search Filter-->
|
2020-07-07 14:54:12 +02:00
|
|
|
<!-- <mat-form-field class="col-11 search">
|
2019-05-07 11:30:03 +02:00
|
|
|
<input matInput placeholder="{{'CRITERIA.DMP.LIKE'| translate}}" name="likeCriteria"
|
|
|
|
[formControl]="formGroup.get('like')">
|
2019-05-06 12:15:45 +02:00
|
|
|
<mat-error *ngIf="formGroup.get('like').hasError('backendError')">
|
|
|
|
{{formGroup.get('like').getError('backendError').message}}</mat-error>
|
|
|
|
<mat-icon matSuffix class="style-icon">search</mat-icon>
|
2020-07-07 14:54:12 +02:00
|
|
|
</mat-form-field> -->
|
2019-05-06 15:35:46 +02:00
|
|
|
<!-- End of Search Filter -->
|
2019-04-25 16:04:54 +02:00
|
|
|
|
2019-05-06 15:35:46 +02:00
|
|
|
<!-- Visibility Filter-->
|
2020-04-01 17:16:06 +02:00
|
|
|
<div *ngIf="!isPublic" class="col-10 gray-container">
|
2019-05-06 15:35:46 +02:00
|
|
|
<h6 class="category-title">{{ 'TYPES.DMP-VISIBILITY.VISIBILITY' | translate }}</h6>
|
2019-05-07 11:30:03 +02:00
|
|
|
<mat-radio-group aria-label="Select an option" [formControl]="formGroup.get('status')">
|
2020-07-07 12:12:57 +02:00
|
|
|
<mat-list-item><mat-radio-button value="null" [checked]="!formGroup.get('status').value">{{ 'TYPES.DMP-VISIBILITY.ANY' | translate }}</mat-radio-button></mat-list-item>
|
2019-06-20 13:31:29 +02:00
|
|
|
<mat-list-item><mat-radio-button value="2">{{ 'TYPES.DMP-VISIBILITY.PUBLIC' | translate }}</mat-radio-button></mat-list-item>
|
|
|
|
<mat-list-item><mat-radio-button value="1">{{ 'TYPES.DMP-VISIBILITY.FINALIZED' | translate }}</mat-radio-button></mat-list-item>
|
|
|
|
<mat-list-item><mat-radio-button value="0">{{ 'TYPES.DMP-VISIBILITY.DRAFT' | translate }}</mat-radio-button></mat-list-item>
|
2019-05-06 15:35:46 +02:00
|
|
|
</mat-radio-group>
|
2019-05-06 12:15:45 +02:00
|
|
|
</div>
|
2019-05-06 15:35:46 +02:00
|
|
|
<!-- End of Visibility Filter-->
|
|
|
|
|
2020-04-01 17:16:06 +02:00
|
|
|
<!-- Grant Status -->
|
|
|
|
<div class="col-10 gray-container" *ngIf="isPublic">
|
|
|
|
<h6 class="category-title">{{ 'FACET-SEARCH.GRANT-STATUS.TITLE' | translate }}</h6>
|
|
|
|
<mat-radio-group [formControl]="formGroup.get('grantStatus')">
|
|
|
|
<mat-list-item>
|
2020-07-08 16:54:41 +02:00
|
|
|
<mat-radio-button value="null" [checked]="!formGroup.get('grantStatus').value">{{ 'FACET-SEARCH.GRANT-STATUS.OPTIONS.ANY' | translate }}</mat-radio-button>
|
2020-04-01 17:16:06 +02:00
|
|
|
</mat-list-item>
|
|
|
|
<mat-list-item>
|
|
|
|
<mat-radio-button value="0">{{ 'FACET-SEARCH.GRANT-STATUS.OPTIONS.ACTIVE' | translate }}</mat-radio-button>
|
|
|
|
</mat-list-item>
|
|
|
|
<mat-list-item>
|
|
|
|
<mat-radio-button value="1">{{ 'FACET-SEARCH.GRANT-STATUS.OPTIONS.INACTIVE' | translate }}</mat-radio-button>
|
|
|
|
</mat-list-item>
|
|
|
|
</mat-radio-group>
|
|
|
|
</div>
|
|
|
|
<!-- End of Grant Status -->
|
|
|
|
|
2019-05-28 09:22:58 +02:00
|
|
|
<!-- Related Dataset Templates Filter -->
|
2019-08-01 09:54:40 +02:00
|
|
|
<div *ngIf="showGrant" class="col-10 gray-container">
|
2019-05-28 09:22:58 +02:00
|
|
|
<h6 class="category-title">{{ 'CRITERIA.DMP.RELATED-DATASET-TEMPLATES' | translate}}</h6>
|
|
|
|
<mat-form-field>
|
|
|
|
<app-multiple-auto-complete [formControl]="formGroup.get('datasetTemplates')"
|
|
|
|
placeholder="{{ 'CRITERIA.DMP.SELECT-DATASET-TEMPLATES' | translate }}"
|
|
|
|
[configuration]="datasetTemplateAutoCompleteConfiguration">
|
|
|
|
</app-multiple-auto-complete>
|
|
|
|
</mat-form-field>
|
|
|
|
</div>
|
|
|
|
<!-- End of Related Dataset Templates Filter -->
|
|
|
|
|
2019-08-01 09:54:40 +02:00
|
|
|
<!-- Related Grant Filters -->
|
|
|
|
<div *ngIf="showGrant" class="col-10 gray-container">
|
|
|
|
<h6 class="category-title">{{ 'DMP-RELATED-GRANT.RELATED-GRANT' | translate}}</h6>
|
2019-05-06 12:15:45 +02:00
|
|
|
<mat-form-field>
|
2019-08-01 09:54:40 +02:00
|
|
|
<app-multiple-auto-complete [formControl]="formGroup.get('grants')"
|
|
|
|
placeholder="{{ 'CRITERIA.DMP.SELECT-GRANTS' | translate }}"
|
|
|
|
[configuration]="grantAutoCompleteConfiguration">
|
2019-05-06 12:15:45 +02:00
|
|
|
</app-multiple-auto-complete>
|
|
|
|
</mat-form-field>
|
|
|
|
</div>
|
2019-08-01 09:54:40 +02:00
|
|
|
<!-- End of Related Grants Filters -->
|
2019-05-06 15:35:46 +02:00
|
|
|
|
|
|
|
<!-- Collaborators Filter -->
|
2020-04-01 17:16:06 +02:00
|
|
|
<div *ngIf="isAuthenticated()" class="col-10 gray-container">
|
2019-05-16 12:10:28 +02:00
|
|
|
<h6 class="category-title">{{ 'CRITERIA.DMP.RELATED-COLLABORATORS' | translate}}</h6>
|
2019-05-06 15:35:46 +02:00
|
|
|
<mat-form-field>
|
2019-05-16 12:10:28 +02:00
|
|
|
<app-multiple-auto-complete [formControl]="formGroup.get('collaborators')"
|
|
|
|
placeholder="{{'CRITERIA.DMP.SELECT-COLLABORATORS' | translate}}"
|
|
|
|
[configuration]="collaboratorsAutoCompleteConfiguration">
|
|
|
|
</app-multiple-auto-complete>
|
2019-05-06 15:35:46 +02:00
|
|
|
</mat-form-field>
|
|
|
|
</div>
|
|
|
|
<!-- End of Collaborators Filter -->
|
|
|
|
|
|
|
|
<!-- Role Filter -->
|
2020-04-01 17:16:06 +02:00
|
|
|
<div *ngIf="isAuthenticated()" class="col-10 gray-container">
|
2019-05-06 15:35:46 +02:00
|
|
|
<h6 class="category-title">{{ 'DATASET-PROFILE-LISTING.COLUMNS.ROLE' | translate }}</h6>
|
2019-05-10 10:33:48 +02:00
|
|
|
<mat-radio-group aria-label="Select an option" [formControl]="formGroup.get('role')">
|
2020-07-07 12:12:57 +02:00
|
|
|
<mat-list-item><mat-radio-button value="null" [checked]="!formGroup.get('role').value">{{ 'TYPES.DATASET-ROLE.ANY' | translate }}</mat-radio-button></mat-list-item>
|
2019-05-10 10:33:48 +02:00
|
|
|
<mat-list-item><mat-radio-button value="0">{{ 'TYPES.DATASET-ROLE.OWNER' | translate }}</mat-radio-button></mat-list-item>
|
|
|
|
<mat-list-item><mat-radio-button value="1">{{ 'TYPES.DATASET-ROLE.MEMBER' | translate }}</mat-radio-button></mat-list-item>
|
2019-05-06 12:15:45 +02:00
|
|
|
</mat-radio-group>
|
|
|
|
</div>
|
2019-05-06 15:35:46 +02:00
|
|
|
<!-- End of Role Filter -->
|
|
|
|
|
|
|
|
<!-- Related Organization Filter -->
|
2019-08-01 09:54:40 +02:00
|
|
|
<div *ngIf="showGrant" class="col-10 gray-container">
|
2019-05-07 10:04:47 +02:00
|
|
|
<h6 class="category-title">{{ 'DMP-RELATED-ORGANIZATION.RELATED-ORGANIZATION' | translate }}</h6>
|
2019-05-06 12:15:45 +02:00
|
|
|
<mat-form-field>
|
2019-05-07 11:30:03 +02:00
|
|
|
<app-multiple-auto-complete [formControl]="formGroup.get('organisations')"
|
|
|
|
placeholder="{{'DMP-RELATED-ORGANIZATION.SELECT-ORGANIZATIONS' | translate}}"
|
|
|
|
[configuration]="organisationAutoCompleteConfiguration">
|
|
|
|
</app-multiple-auto-complete>
|
2019-05-06 12:15:45 +02:00
|
|
|
</mat-form-field>
|
|
|
|
</div>
|
2019-05-06 15:35:46 +02:00
|
|
|
<!-- End of Related Organization Filter -->
|
2019-04-25 16:04:54 +02:00
|
|
|
|
2019-01-18 18:03:45 +01:00
|
|
|
</div>
|
2019-05-06 12:15:45 +02:00
|
|
|
</div>
|
2019-01-18 18:03:45 +01:00
|
|
|
</div>
|