From c277fcfecebe7f0c539837cabaa8265e7641e126 Mon Sep 17 00:00:00 2001 From: louis-19041904 Date: Tue, 7 Jul 2026 00:33:59 +0200 Subject: [PATCH] person: add publication and citation icons to stats line --- .../app/modules/person/person.component.html | 12 +++++++++--- .../app/modules/person/person.component.scss | 19 +++++++++++++++++++ 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/webapp/src/app/modules/person/person.component.html b/webapp/src/app/modules/person/person.component.html index c1062269..ac1984d6 100644 --- a/webapp/src/app/modules/person/person.component.html +++ b/webapp/src/app/modules/person/person.component.html @@ -32,15 +32,21 @@ } @if (worksCount() !== null || citedByCount() !== null) { - + @if (worksCount() !== null) { - {{ worksCount() }} Publikationen + + menu_book + {{ worksCount() }} Publikationen + } @if (worksCount() !== null && citedByCount() !== null) { ยท } @if (citedByCount() !== null) { - {{ citedByCount() }} Zitationen + + format_quote + {{ citedByCount() }} Zitationen + } diff --git a/webapp/src/app/modules/person/person.component.scss b/webapp/src/app/modules/person/person.component.scss index 5a60ad76..8a29a2cf 100644 --- a/webapp/src/app/modules/person/person.component.scss +++ b/webapp/src/app/modules/person/person.component.scss @@ -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;