Files
smartguide/webapp/src/app/modules/person-interesting/person-interesting.component.html
T
Louis d1bb1363c0
LocationBasedServices/smartguide/pipeline/head This commit looks good
show one color marker per field with subfields grouped underneath
2026-06-24 23:53:08 +02:00

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>