diff --git a/webapp/src/app/modules/dashboard/dashboard.component.html b/webapp/src/app/modules/dashboard/dashboard.component.html index 8629679a..d8b62ad4 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.scss b/webapp/src/app/modules/dashboard/dashboard.component.scss index 6df707ba..448825c5 100644 --- a/webapp/src/app/modules/dashboard/dashboard.component.scss +++ b/webapp/src/app/modules/dashboard/dashboard.component.scss @@ -381,11 +381,18 @@ display: flex; align-items: center; gap: 0.5rem; - margin: 0 0 1rem; + margin: 0; color: var(--sg-text); } } + .top-authors-chart-subtitle { + margin: 0.35rem 0 1rem; + color: var(--sg-text-muted); + font-size: 13px; + line-height: 1.45; + } + .author-bar-row { display: flex; align-items: center; diff --git a/webapp/src/app/modules/dashboard/dashboard.component.ts b/webapp/src/app/modules/dashboard/dashboard.component.ts index bc185919..7b007625 100644 --- a/webapp/src/app/modules/dashboard/dashboard.component.ts +++ b/webapp/src/app/modules/dashboard/dashboard.component.ts @@ -71,6 +71,7 @@ type DashboardStatisticKey = | 'dfg_projects'; type TopAuthorDataset = { title: string; + subtitle: string; icon: string; entries: TopAuthor[]; stripAuthorTitle?: boolean; @@ -281,27 +282,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 ?? [], },