LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
# Conflicts: # webapp/src/app/api/model/patentsByKeywordsResponse.ts # webapp/src/app/modules/keywords-search/patent-search.utils.ts
95 lines
2.4 KiB
HTML
95 lines
2.4 KiB
HTML
<div class="content">
|
|
<h1>Passende Institutionen finden</h1>
|
|
|
|
<mat-divider />
|
|
|
|
<app-card-search
|
|
[page]="page()"
|
|
[cardMinWidth]="300"
|
|
[cardTmp]="cardTmp"
|
|
[observers]="observers"
|
|
[cardMinWidth]="550"
|
|
searchLabel="Suche nach Namen"
|
|
[sortingOptions]="sortingOptions"
|
|
[sortingDirectionOptions]="sortingDirectionOptions" />
|
|
</div>
|
|
|
|
<ng-template #cardTmp let-institution>
|
|
<mat-card
|
|
class="card"
|
|
appearance="outlined"
|
|
[routerLink]="
|
|
institution.id
|
|
? ['/institution', institution.id.split('/').pop() ?? '']
|
|
: null
|
|
">
|
|
<mat-card-header>
|
|
<mat-card-title>{{ getDisplayName(institution) }}</mat-card-title>
|
|
<mat-card-subtitle
|
|
>{{ institution.geo?.city }},
|
|
{{ institution.geo?.country }}</mat-card-subtitle
|
|
>
|
|
</mat-card-header>
|
|
|
|
<mat-card-content class="card-content">
|
|
<mat-divider />
|
|
<div class="card-metadata">
|
|
<span>Publikationen: {{ institution.works_count }}</span>
|
|
<span>Zitationen: {{ institution.cited_by_count }}</span>
|
|
</div>
|
|
<mat-divider />
|
|
</mat-card-content>
|
|
|
|
<mat-card-footer>
|
|
<mat-card-actions>
|
|
<a
|
|
mat-button
|
|
[routerLink]="[
|
|
'/institution',
|
|
extractInstitutionId(institution),
|
|
'overview',
|
|
]"
|
|
(click)="$event.stopPropagation()">
|
|
<mat-icon>info</mat-icon>
|
|
Übersicht
|
|
</a>
|
|
<a
|
|
mat-button
|
|
[routerLink]="[
|
|
'/institution',
|
|
extractInstitutionId(institution),
|
|
'publications',
|
|
]"
|
|
(click)="$event.stopPropagation()">
|
|
<mat-icon>article</mat-icon>
|
|
Publikationen
|
|
</a>
|
|
<a
|
|
mat-button
|
|
[routerLink]="[
|
|
'/institution',
|
|
extractInstitutionId(institution),
|
|
'projects',
|
|
]"
|
|
(click)="$event.stopPropagation()">
|
|
<mat-icon>work</mat-icon>
|
|
Projekte
|
|
</a>
|
|
@if (hasPatents(institution)) {
|
|
<a
|
|
mat-button
|
|
[routerLink]="[
|
|
'/institution',
|
|
extractInstitutionId(institution),
|
|
'patents',
|
|
]"
|
|
(click)="$event.stopPropagation()">
|
|
<mat-icon>verified</mat-icon>
|
|
Patente
|
|
</a>
|
|
}
|
|
</mat-card-actions>
|
|
</mat-card-footer>
|
|
</mat-card>
|
|
</ng-template>
|