Linking entities in entity health overview.

This commit is contained in:
DebaucheryLibrarian 2025-09-15 05:30:03 +02:00
parent ea398a51aa
commit b6398197ea
1 changed files with 23 additions and 4 deletions

View File

@ -50,12 +50,27 @@
<td
:title="entity.id"
class="table-cell table-name ellipsis"
>{{ entity.name }}</td>
>
<a
:href="`/${entity.type}/${entity.slug}`"
target="_blank"
class="link"
>{{ entity.name }}</a>
</td>
<td
:title="entity.parent?.id"
v-if="entity.parent"
:title="entity.paren?.id"
class="table-cell table-name ellipsis"
>{{ entity.parent?.name }}</td>
>
<a
:href="`/network/${entity.parent.slug}`"
target="_blank"
class="link"
>{{ entity.parent.name }}</a>
</td>
<td v-else />
<td class="table-cell table-total">{{ entity.totalReleases }}</td>
@ -154,7 +169,7 @@ watch([alertThreshold, deadThreshold], () => {
}
.table-name {
width: 10rem;
width: 12rem;
}
.table-total {
@ -165,4 +180,8 @@ watch([alertThreshold, deadThreshold], () => {
color: var(--warn);
font-weight: bold;
}
.link {
color: var(--text);
}
</style>