33 lines
956 B
HTML
33 lines
956 B
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>
|
|
<div class="interest-tags">
|
|
@if (tags().length > 0) {
|
|
@for (tag of tags(); track tag.label; let i = $index) {
|
|
<button
|
|
type="button"
|
|
class="topic-chip"
|
|
[ngClass]="getColorClass(i)"
|
|
[matTooltip]="tag.description"
|
|
[disabled]="!tag.id"
|
|
(click)="onTagClick(tag)">
|
|
<span class="topic-name">{{ tag.label }}</span>
|
|
<span class="topic-count">
|
|
{{ tag.count }}
|
|
<mat-icon class="count-icon">article</mat-icon>
|
|
</span>
|
|
</button>
|
|
}
|
|
} @else {
|
|
<span class="interest-empty">Keine Themen gefunden</span>
|
|
}
|
|
</div>
|
|
</aside>
|