42 lines
1.3 KiB
HTML
42 lines
1.3 KiB
HTML
@if (shouldDisplay()) {
|
|
<section class="topic-heatmap-section">
|
|
<header class="topic-heatmap-header">
|
|
<div>
|
|
<h2>{{ sourceLabel() }}-Projekt-Topics</h2>
|
|
<p>
|
|
Gematchte {{ sourceLabel() }}-Projekte nach Field, Subfield und Topic.
|
|
Ein Klick auf ein Topic zeigt die zugehörigen Keywords.
|
|
</p>
|
|
</div>
|
|
@if (projectTopics(); as topics) {
|
|
<p class="topic-summary">
|
|
{{ topics.matched_project_count | number }} von
|
|
{{ topics.project_count | number }} Projekten gematcht
|
|
</p>
|
|
}
|
|
</header>
|
|
|
|
@if (loading()) {
|
|
<div class="topic-heatmap-loading" role="status" aria-live="polite">
|
|
<app-loading
|
|
[text]="sourceLabel() + '-Topics werden geladen …'"
|
|
[icon]="loadingIcon"
|
|
size="72"
|
|
diameter="72" />
|
|
</div>
|
|
} @else if (error()) {
|
|
<p class="statistics-error">
|
|
Die {{ sourceLabel() }}-Topic-Treemap konnte nicht geladen werden.
|
|
</p>
|
|
} @else {
|
|
<app-topic-treemap
|
|
[data]="treemap()"
|
|
[selectedNodeId]="selectedNodeId()"
|
|
[countLabel]="sourceLabel() + '-Projekte'"
|
|
[showCountInTooltip]="false"
|
|
(selectedNodeIdChange)="selectedNodeId.set($event)"
|
|
(topicSelect)="openTopic($event)" />
|
|
}
|
|
</section>
|
|
}
|