- @for (institution of institutions(); track institution.id) {
-
-
- {{ institution.name }}
-
- @if (institution.country) {
-
-
- {{ institution.country.toUpperCase() }}
-
- } @else if (institution.type) {
-
{{ institution.type }}
+
Institutionen
+
info_outline
+
{{ institutions().length }}
+
expand_more
+
+ @if (institutionsExpanded) {
+
+
+ @for (institution of institutions(); track institution.id) {
+
+
+ {{ institution.name }}
+
+ @if (institution.country) {
+
+
+ {{ institution.country.toUpperCase() }}
+
+ } @else if (institution.type) {
+
{{ institution.type }}
+ }
+
}
- }
-
+
+ }
}
diff --git a/webapp/src/app/modules/publication-detail/publication-detail.component.scss b/webapp/src/app/modules/publication-detail/publication-detail.component.scss
index 2e8c72d4..463604b8 100644
--- a/webapp/src/app/modules/publication-detail/publication-detail.component.scss
+++ b/webapp/src/app/modules/publication-detail/publication-detail.component.scss
@@ -188,6 +188,79 @@ aside {
box-shadow: var(--sg-shadow-sm);
}
+.accordion-card {
+ padding: 0;
+ overflow: hidden;
+}
+
+.accordion-header {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ width: 100%;
+ padding: 18px 22px;
+ background: none;
+ border: none;
+ cursor: pointer;
+ text-align: left;
+ font-family: inherit;
+ font-size: 16px;
+ font-weight: 700;
+ color: var(--sg-text);
+ transition: background 0.12s;
+
+ &:hover {
+ background: #f6f9ff;
+ }
+
+ mat-icon {
+ flex-shrink: 0;
+ width: 20px;
+ height: 20px;
+ font-size: 20px;
+ color: var(--sg-text-muted);
+ }
+}
+
+.accordion-title {
+ flex: 1;
+}
+
+.count-badge {
+ padding: 2px 7px;
+ border-radius: 999px;
+ background: #e8effe;
+ color: #3b5bd6;
+ font-size: 11px;
+ font-weight: 700;
+}
+
+.info-icon {
+ flex-shrink: 0;
+ width: 16px !important;
+ height: 16px !important;
+ font-size: 16px !important;
+ color: var(--sg-text-muted);
+ opacity: 0.7;
+ cursor: default;
+
+ &:hover {
+ opacity: 1;
+ }
+}
+
+.chevron {
+ transition: transform 0.2s ease;
+
+ &.rotated {
+ transform: rotate(-90deg);
+ }
+}
+
+.accordion-body {
+ padding: 4px 22px 22px;
+}
+
.section-title {
display: flex;
align-items: center;
@@ -445,6 +518,18 @@ dd {
padding: 22px 20px;
}
+ .accordion-card {
+ padding: 0;
+ }
+
+ .accordion-header {
+ padding: 16px 20px;
+ }
+
+ .accordion-body {
+ padding: 4px 20px 20px;
+ }
+
.metrics,
.author-list {
grid-template-columns: 1fr;
diff --git a/webapp/src/app/modules/publication-detail/publication-detail.component.ts b/webapp/src/app/modules/publication-detail/publication-detail.component.ts
index b4c766e8..a039137b 100644
--- a/webapp/src/app/modules/publication-detail/publication-detail.component.ts
+++ b/webapp/src/app/modules/publication-detail/publication-detail.component.ts
@@ -6,6 +6,7 @@ import { HttpClient } from '@angular/common/http';
import { MatButtonModule } from '@angular/material/button';
import { MatIconModule } from '@angular/material/icon';
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
+import { MatTooltipModule } from '@angular/material/tooltip';
import { ActivatedRoute, Router, RouterLink } from '@angular/router';
import { finalize } from 'rxjs';
import {
@@ -38,6 +39,7 @@ interface InstitutionDetail {
MatButtonModule,
MatIconModule,
MatProgressSpinnerModule,
+ MatTooltipModule,
RouterLink,
TopicChipComponent,
UpperCasePipe,
@@ -57,6 +59,9 @@ export class PublicationDetailComponent implements OnInit {
loading = true;
notFound = false;
+ authorsExpanded = true;
+ institutionsExpanded = false;
+
ngOnInit(): void {
this.loading = true;