Add top person subtitles
This commit is contained in:
@@ -519,6 +519,9 @@
|
||||
<mat-icon>{{ dataset.icon }}</mat-icon
|
||||
>{{ dataset.title }}
|
||||
</h3>
|
||||
<p class="top-authors-chart-subtitle">
|
||||
{{ dataset.subtitle }}
|
||||
</p>
|
||||
@for (
|
||||
entry of dataset.entries;
|
||||
track entry.id || entry.name;
|
||||
|
||||
@@ -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 ?? [],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user