99 lines
3.1 KiB
HTML
99 lines
3.1 KiB
HTML
<div class="content">
|
|
<div>
|
|
<h6>Projekte</h6>
|
|
<p>Übersicht der Projekte, die von der Institution durchgeführt werden.</p>
|
|
</div>
|
|
|
|
<mat-accordion multi>
|
|
<mat-expansion-panel class="mat-elevation-z1">
|
|
<mat-expansion-panel-header>
|
|
<mat-panel-title>Förderung über Zeit</mat-panel-title>
|
|
</mat-expansion-panel-header>
|
|
|
|
<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>
|
|
</mat-expansion-panel>
|
|
|
|
<mat-expansion-panel class="mat-elevation-z1" [expanded]="true">
|
|
<mat-expansion-panel-header>
|
|
<mat-panel-title>Projektliste</mat-panel-title>
|
|
</mat-expansion-panel-header>
|
|
|
|
<div class="person-projects">
|
|
@if (resultTabPanel) {
|
|
<app-link-tab-nav-bar
|
|
[links]="_links()"
|
|
[tabPanel]="resultTabPanel" />
|
|
}
|
|
|
|
<mat-tab-nav-panel #resultTabPanel>
|
|
<router-outlet />
|
|
</mat-tab-nav-panel>
|
|
</div>
|
|
</mat-expansion-panel>
|
|
</mat-accordion>
|
|
|
|
<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>
|