42 lines
1.2 KiB
HTML
42 lines
1.2 KiB
HTML
<aside class="interest-card">
|
|
<div class="interest-header">
|
|
<h3>Interessant für</h3>
|
|
@if (tags().length > 0) {
|
|
<span class="interest-footnote">
|
|
<mat-icon class="footnote-icon">article</mat-icon>
|
|
Anzahl Publikationen zum Thema
|
|
</span>
|
|
}
|
|
</div>
|
|
<app-topic-legend
|
|
[groups]="legendGroups()"
|
|
[expanded]="legendExpanded()"
|
|
[showTitle]="false"
|
|
[showVisibilityToggle]="false"
|
|
[collapsedGroupLimit]="3"
|
|
variant="compact"
|
|
(expandedChange)="onLegendExpandedChange($event)">
|
|
</app-topic-legend>
|
|
<div class="interest-tags">
|
|
@if (tags().length > 0) {
|
|
@for (tag of tags(); track tag.label) {
|
|
<app-topic-chip
|
|
[label]="tag.label"
|
|
[count]="tag.count"
|
|
[description]="tag.description"
|
|
[subfieldName]="tag.subfieldName"
|
|
[fieldName]="tag.fieldName"
|
|
[domainName]="tag.domainName"
|
|
[color]="tag.color"
|
|
[disabled]="!tag.id"
|
|
countIcon="article"
|
|
descriptionTooltipTarget="button"
|
|
(chipClick)="onTagClick(tag)">
|
|
</app-topic-chip>
|
|
}
|
|
} @else {
|
|
<span class="interest-empty">Keine Themen gefunden</span>
|
|
}
|
|
</div>
|
|
</aside>
|