55 lines
1.3 KiB
HTML
55 lines
1.3 KiB
HTML
@let topic = this.topic();
|
|
|
|
<mat-card
|
|
class="card-content popup"
|
|
appearance="outlined"
|
|
[routerLink]="topic.id ? ['/topic', stripOpenAlexId(topic.id)] : null">
|
|
<mat-card-header>
|
|
<mat-card-title>{{ topic.display_name }}</mat-card-title>
|
|
<mat-card-subtitle class="subtitle">{{ subtitle() }}</mat-card-subtitle>
|
|
</mat-card-header>
|
|
|
|
<mat-divider />
|
|
|
|
<mat-card-content>
|
|
<p>{{ description() }}</p>
|
|
<div class="metrics">
|
|
<div class="metric-item">
|
|
<mat-icon>menu_book</mat-icon>
|
|
<span
|
|
>{{
|
|
topic.works_count | number: undefined : 'de'
|
|
}}
|
|
Publikationen</span
|
|
>
|
|
</div>
|
|
<div class="metric-item">
|
|
<mat-icon>format_quote</mat-icon>
|
|
<span
|
|
>{{
|
|
topic.cited_by_count | number: undefined : 'de'
|
|
}}
|
|
Zitationen</span
|
|
>
|
|
</div>
|
|
</div>
|
|
</mat-card-content>
|
|
|
|
@if (topic.id) {
|
|
<mat-divider />
|
|
|
|
<mat-card-footer>
|
|
<mat-card-actions class="card-actions">
|
|
<a
|
|
class="card-action"
|
|
[routerLink]="['/topic', stripOpenAlexId(topic.id), 'publications']"
|
|
matButton="outlined"
|
|
(click)="$event.stopPropagation()">
|
|
<mat-icon>menu_book</mat-icon>
|
|
Publikationen
|
|
</a>
|
|
</mat-card-actions>
|
|
</mat-card-footer>
|
|
}
|
|
</mat-card>
|