91 lines
2.9 KiB
HTML
91 lines
2.9 KiB
HTML
<div class="content">
|
|
<h3>Projekte</h3>
|
|
|
|
<div class="funding-area">
|
|
<div class="person-projects">
|
|
<nav mat-tab-nav-bar [tabPanel]="resultTabPanel" class="result-nav">
|
|
@for (route of childRoutes; track route.path) {
|
|
<a
|
|
matTabLink
|
|
[routerLink]="[route.path]"
|
|
queryParamsHandling="merge"
|
|
routerLinkActive
|
|
#rla="routerLinkActive"
|
|
[active]="rla.isActive">
|
|
{{ route.label }}
|
|
</a>
|
|
}
|
|
</nav>
|
|
|
|
<mat-tab-nav-panel #resultTabPanel>
|
|
<router-outlet />
|
|
</mat-tab-nav-panel>
|
|
<div class="funding-info-section">
|
|
<mat-card appearance="outlined">
|
|
<mat-card-header>
|
|
<mat-card-title>Förderung über Zeit</mat-card-title>
|
|
</mat-card-header>
|
|
<mat-card-content>
|
|
<app-institution-projects-funding-graph
|
|
[fundings]="[bundProjectsFunding(), cordisEuProjectsFunding()]" />
|
|
</mat-card-content>
|
|
</mat-card>
|
|
|
|
<div class="funding-info-cards">
|
|
<app-info-card
|
|
[description]="'Gesamte Förderung durch Bund'"
|
|
[value]="
|
|
(bundTotalFunding()
|
|
| currency: 'EUR' : 'symbol' : '1.0-0' : 'de') ?? undefined
|
|
" />
|
|
<app-info-card
|
|
[description]="'Durchschnittliche jährliche Förderung durch Bund'"
|
|
[value]="
|
|
(bundAverageAnnualFunding()
|
|
| currency: 'EUR' : 'symbol' : '1.0-0' : 'de') ?? undefined
|
|
" />
|
|
<app-info-card
|
|
[description]="'Gesamte Förderung durch die Europäische Union'"
|
|
[value]="
|
|
(euTotalFunding()
|
|
| currency: 'EUR' : 'symbol' : '1.0-0' : 'de') ?? undefined
|
|
" />
|
|
<app-info-card
|
|
[description]="
|
|
'Durchschnittliche jährliche Förderung durch die Europäische Union'
|
|
"
|
|
[value]="
|
|
(euAverageAnnualFunding()
|
|
| currency: 'EUR' : 'symbol' : '1.0-0' : 'de') ?? undefined
|
|
" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</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 #fundingAmountTmp let-row>
|
|
{{ row.funding_amount | currency: 'EUR' : 'symbol' : '1.0-0' : 'de' }}
|
|
</ng-template>
|
|
|
|
<ng-template #euProjectActionsTmp let-row>
|
|
<a mat-icon-button color="primary" [routerLink]="['/projects/eu', row.id]">
|
|
<mat-icon>open_in_new</mat-icon>
|
|
</a></ng-template
|
|
>
|
|
|
|
<ng-template #bundProjectActionsTmp let-row>
|
|
<a
|
|
mat-icon-button
|
|
color="primary"
|
|
[routerLink]="['/projects/bund', row.id]">
|
|
<mat-icon>open_in_new</mat-icon>
|
|
</a>
|
|
</ng-template>
|
|
</div>
|