Files
smartguide/webapp/src/app/modules/institution-projects/institution-projects.component.html
T
Mats Paul Tončik b88f459bde
LocationBasedServices/smartguide/pipeline/head This commit looks good
Added dfg projects for single persons
2026-06-14 23:39:22 +02:00

58 lines
1.8 KiB
HTML

<div class="content">
<h3>Projekte</h3>
<mat-card appearance="outlined">
<mat-card-content>
<mat-form-field style="width: 100%">
<mat-label>Suche nach Themen</mat-label>
<input
matInput
type="search"
[debounceTime]="300"
[(debouncedValue)]="urlSearchTerm"
(debouncedValueChange)="handleSearchTermChange($event)" />
<mat-icon matPrefix>search</mat-icon>
<button matIconButton matSuffix (click)="clearSearchTerm()">
<mat-icon>clear</mat-icon>
</button>
</mat-form-field>
<mat-tab-group
[selectedIndex]="tabIndex()"
(selectedTabChange)="selectedTabChange($event)"
>
<mat-tab label="EU">
<app-data-table
[data]="euProjectData"
[columns]="euProjectColumns"
[activeSortKey]="urlSortKey()"
[sortDirection]="urlSortDirection()"
(sortChange)="handleSortChange($event)" />
</mat-tab>
<mat-tab label="Bund">
<app-data-table
[data]="bundProjectData"
[columns]="bundProjectColumns"
[activeSortKey]="urlSortKey()"
[sortDirection]="urlSortDirection()"
(sortChange)="handleSortChange($event)" />
</mat-tab>
</mat-tab-group>
<mat-paginator
[length]="this.pageTotal()"
[pageSize]="this.pageSize()"
[pageIndex]="this.pageIndex()"
(page)="handlePageChange($event)" />
</mat-card-content>
</mat-card>
</div>
<ng-template #fundingStartTmp let-row>
{{ row.funding_start | date: 'dd.MM.yyyy' }}
</ng-template>
<ng-template #fundingEndTmp let-row>
{{ row.funding_end | date: 'dd.MM.yyyy' }}
</ng-template>
<ng-template #grantAmountTmp let-row>
{{ row.grant_amount | currency: 'EUR' : 'symbol' : '1.0-0' : 'de' }}
</ng-template>