person: add publication and citation icons to stats line

This commit is contained in:
2026-07-07 00:33:59 +02:00
parent 8efbbf1f1a
commit c277fcfece
2 changed files with 28 additions and 3 deletions
@@ -32,15 +32,21 @@
}
</div>
@if (worksCount() !== null || citedByCount() !== null) {
<span>
<span class="stats-line">
@if (worksCount() !== null) {
{{ worksCount() }} Publikationen
<span class="stat-item">
<mat-icon class="stat-icon">menu_book</mat-icon>
{{ worksCount() }} Publikationen
</span>
}
@if (worksCount() !== null && citedByCount() !== null) {
·
}
@if (citedByCount() !== null) {
{{ citedByCount() }} Zitationen
<span class="stat-item">
<mat-icon class="stat-icon">format_quote</mat-icon>
{{ citedByCount() }} Zitationen
</span>
}
</span>
<span>
@@ -108,6 +108,25 @@
font-size: 13px;
}
.stats-line {
display: flex;
align-items: center;
gap: 6px;
}
.stat-item {
display: inline-flex;
align-items: center;
gap: 5px;
}
.stat-icon {
width: 16px;
height: 16px;
font-size: 16px;
color: var(--sg-text-muted);
}
.institution-country {
display: inline-flex;
align-items: center;