publication detail: link institutions to their detail page
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user