person: add publication and citation icons to stats line
This commit is contained in:
@@ -32,15 +32,21 @@
|
||||
}
|
||||
</div>
|
||||
@if (worksCount() !== null || citedByCount() !== null) {
|
||||
<span>
|
||||
<span class="stats-line">
|
||||
@if (worksCount() !== null) {
|
||||
{{ worksCount() }} Publikationen
|
||||
<span class="stat-item">
|
||||
<mat-icon class="stat-icon">menu_book</mat-icon>
|
||||
{{ worksCount() }} Publikationen
|
||||
</span>
|
||||
}
|
||||
@if (worksCount() !== null && citedByCount() !== null) {
|
||||
·
|
||||
}
|
||||
@if (citedByCount() !== null) {
|
||||
{{ citedByCount() }} Zitationen
|
||||
<span class="stat-item">
|
||||
<mat-icon class="stat-icon">format_quote</mat-icon>
|
||||
{{ citedByCount() }} Zitationen
|
||||
</span>
|
||||
}
|
||||
</span>
|
||||
<span>
|
||||
|
||||
@@ -108,6 +108,25 @@
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.stats-line {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.stat-item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.stat-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
font-size: 16px;
|
||||
color: var(--sg-text-muted);
|
||||
}
|
||||
|
||||
.institution-country {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user