-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
40 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 20 additions & 19 deletions
39
projects/lib-shared-modules/src/lib/components/filter/filter.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
@if(filterData){ | ||
<div class="container"> | ||
@for(filter of filterData;track filter){ | ||
<div class="filter-container"> | ||
<mat-select [placeholder]="filter.label | translate" [multiple]="filter.isMultiple" (selectionChange)="OnClickfilter($event, filter)"> | ||
@for(option of filter.option;track option){ | ||
<mat-option [value]="option.value">{{option.label | translate}}</mat-option> | ||
} | ||
</mat-select> | ||
</div> | ||
<div class="container"> | ||
@for(filter of filterData;track filter){ | ||
<div class="filter-container"> | ||
@if(filter.option){ | ||
<mat-select [placeholder]="filter.label | translate" [multiple]="filter.isMultiple" (selectionChange)="OnClickfilter($event, filter)"> | ||
@for(option of filter.option;track option){ | ||
<mat-option [value]="option.value">{{option.label | translate}}</mat-option> | ||
} | ||
</mat-select> | ||
} | ||
@else { | ||
<div> | ||
<button class="inline-flex items-center text-primary px-2"> | ||
{{ filter.label | translate }} | ||
<span class="ml-2 flex items-center justify-center w-5 h-5 rounded-full bg-numberCircle text-white text-sm">{{ changeReqCount || inprogressCount }}</span> | ||
</button> | ||
</div> | ||
} | ||
@if(showChangesButton){ | ||
<div class="filter-container"> | ||
<div> | ||
<button class="inline-flex items-center text-primary px-2">{{ changeButton | translate }} | ||
<span class="ml-2 flex items-center justify-center w-5 h-5 rounded-full bg-numberCircle text-white text-sm">{{ changeReqCount }}</span> | ||
</button> | ||
</div> | ||
</div> | ||
} | ||
</div> | ||
} | ||
} | ||
</div> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ts/self-creation-portal/src/app/components/resource-holder/resource-holder.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters