publication detail: link institutions to their detail page

This commit is contained in:
2026-07-06 23:06:54 +02:00
parent e4dbe07436
commit 0723bb5c5b
2 changed files with 19 additions and 1 deletions
@@ -307,7 +307,14 @@
<div class="compact-list">
@for (institution of institutions(); track institution.id) {
<div>
<strong>{{ institution.name }}</strong>
<a
class="institution-link"
[routerLink]="[
'/institution',
institution.id.split('/').pop() ?? '',
]">
{{ institution.name }}
</a>
@if (institution.country) {
<span class="institution-country">
<img
@@ -355,6 +355,17 @@ dd {
font-size: 12px;
}
.institution-link {
color: var(--sg-text);
font-size: 12px;
font-weight: 700;
text-decoration: none;
}
.institution-link:hover {
text-decoration: underline;
}
.compact-list span {
color: var(--sg-text-muted);
font-size: 11px;