From 32d1e27fc5d1b86ca44fc33b8b190ebd421f2e72 Mon Sep 17 00:00:00 2001
From: spsaefan <117728614+spsaefan@users.noreply.github.com>
Date: Sat, 22 Aug 2026 20:21:47 +0200
Subject: [PATCH] Add top person subtitles
---
.../app/modules/dashboard/dashboard.component.html | 3 +++
.../src/app/modules/dashboard/dashboard.component.ts | 11 +++++++++++
2 files changed, 14 insertions(+)
diff --git a/webapp/src/app/modules/dashboard/dashboard.component.html b/webapp/src/app/modules/dashboard/dashboard.component.html
index ffa6554d..85acf5fb 100644
--- a/webapp/src/app/modules/dashboard/dashboard.component.html
+++ b/webapp/src/app/modules/dashboard/dashboard.component.html
@@ -519,6 +519,9 @@
{{ dataset.icon }}{{ dataset.title }}
+
+ {{ dataset.subtitle }}
+
@for (
entry of dataset.entries;
track entry.id || entry.name;
diff --git a/webapp/src/app/modules/dashboard/dashboard.component.ts b/webapp/src/app/modules/dashboard/dashboard.component.ts
index 827c12fe..2c08b53c 100644
--- a/webapp/src/app/modules/dashboard/dashboard.component.ts
+++ b/webapp/src/app/modules/dashboard/dashboard.component.ts
@@ -69,6 +69,7 @@ type DashboardStatisticKey =
| 'dfg_projects';
type TopAuthorDataset = {
title: string;
+ subtitle: string;
icon: string;
entries: TopAuthor[];
stripAuthorTitle?: boolean;
@@ -276,27 +277,37 @@ export class DashboardComponent implements OnInit, AfterViewInit {
return [
{
title: 'Publikationen',
+ subtitle:
+ 'Top 10 Personen mit Publikationen der ausgewählten Institution. Die Zahl zeigt die Anzahl der Publikationen der jeweiligen Person.',
icon: MENU_BOOK_ICON,
entries: this.topAuthors?.works ?? [],
},
{
title: 'EU-Projekte',
+ subtitle:
+ 'Top 10 Personen, die an EU-Projekten der ausgewählten Institution beteiligt sind. Die Zahl zeigt, an wie vielen EU-Projekten die jeweilige Person beteiligt ist.',
icon: PUBLIC_ICON,
entries: this.topAuthors?.eu_projects ?? [],
},
{
title: 'Patente',
+ subtitle:
+ 'Top 10 Personen mit Zuordnung zu Patenten der ausgewählten Institution. Die Zahl zeigt, wie vielen Patenten die jeweilige Person zugeordnet wurde.',
icon: DESCRIPTION_ICON,
entries: this.topAuthors?.patents ?? [],
},
{
title: 'DFG Projekte',
+ subtitle:
+ 'Top 10 Personen, die an DFG-Projekten der ausgewählten Institution beteiligt sind. Die Zahl zeigt, an wie vielen DFG-Projekten die jeweilige Person beteiligt ist.',
icon: ACCOUNT_TREE_ICON,
entries: this.topAuthors?.projects ?? [],
stripAuthorTitle: true,
},
{
title: 'News',
+ subtitle:
+ 'Top 10 Personen der ausgewählten Institution, die in Nachrichten genannt werden. Die Zahl zeigt, in wie vielen Nachrichten die jeweilige Person vorkommt.',
icon: ARTICLE_ICON,
entries: this.topAuthors?.news ?? [],
},