replace * marker with paper icon
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good

This commit is contained in:
Steven Tischer
2026-06-09 20:18:28 +02:00
parent 903ee594a3
commit fc123d81aa
3 changed files with 28 additions and 3 deletions
@@ -2,7 +2,10 @@
<div class="interest-header">
<h3>Interessant für</h3>
@if (tags().length > 0) {
<span class="interest-footnote">* Anzahl Publikationen zum Thema</span>
<span class="interest-footnote">
<mat-icon class="footnote-icon">article</mat-icon>
Anzahl Publikationen zum Thema
</span>
}
</div>
<div class="interest-tags">
@@ -16,7 +19,10 @@
[disabled]="!tag.id"
(click)="onTagClick(tag)">
<span class="topic-name">{{ tag.label }}</span>
<span class="topic-count">{{ tag.count }}*</span>
<span class="topic-count">
{{ tag.count }}
<mat-icon class="count-icon">article</mat-icon>
</span>
</button>
}
} @else {
@@ -73,6 +73,7 @@
flex: 0 0 auto;
align-items: center;
justify-content: center;
gap: 2px;
min-width: 18px;
height: 18px;
padding: 0 5px;
@@ -83,6 +84,13 @@
font-weight: 700;
}
.topic-count .count-icon {
width: 13px;
height: 13px;
font-size: 13px;
line-height: 1;
}
.purple {
--topic-border: #d8cafe;
--topic-bg: #f6f0ff;
@@ -114,10 +122,20 @@
}
.interest-footnote {
display: inline-flex;
align-items: center;
gap: 4px;
color: var(--sg-text-muted);
font-size: 11px;
}
.interest-footnote .footnote-icon {
width: 14px;
height: 14px;
font-size: 14px;
line-height: 1;
}
.interest-tags .interest-empty {
padding: 9px 16px;
border: 1px solid #e2e8f0;
@@ -1,5 +1,6 @@
import { Component, input, computed, output } from '@angular/core';
import { MatTooltipModule } from '@angular/material/tooltip';
import { MatIconModule } from '@angular/material/icon';
import { CommonModule } from '@angular/common';
import { TopicCount } from '../../api';
@@ -16,7 +17,7 @@ const colors = ['purple', 'blue', 'green', 'orange', 'pink'];
@Component({
selector: 'app-person-interesting',
imports: [CommonModule, MatTooltipModule],
imports: [CommonModule, MatTooltipModule, MatIconModule],
templateUrl: './person-interesting.component.html',
styleUrl: './person-interesting.component.scss',
})