Linking entities in entity health overview.
This commit is contained in:
parent
ea398a51aa
commit
b6398197ea
|
@ -50,12 +50,27 @@
|
||||||
<td
|
<td
|
||||||
:title="entity.id"
|
:title="entity.id"
|
||||||
class="table-cell table-name ellipsis"
|
class="table-cell table-name ellipsis"
|
||||||
>{{ entity.name }}</td>
|
>
|
||||||
|
<a
|
||||||
|
:href="`/${entity.type}/${entity.slug}`"
|
||||||
|
target="_blank"
|
||||||
|
class="link"
|
||||||
|
>{{ entity.name }}</a>
|
||||||
|
</td>
|
||||||
|
|
||||||
<td
|
<td
|
||||||
:title="entity.parent?.id"
|
v-if="entity.parent"
|
||||||
|
:title="entity.paren?.id"
|
||||||
class="table-cell table-name ellipsis"
|
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>
|
<td class="table-cell table-total">{{ entity.totalReleases }}</td>
|
||||||
|
|
||||||
|
@ -154,7 +169,7 @@ watch([alertThreshold, deadThreshold], () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-name {
|
.table-name {
|
||||||
width: 10rem;
|
width: 12rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-total {
|
.table-total {
|
||||||
|
@ -165,4 +180,8 @@ watch([alertThreshold, deadThreshold], () => {
|
||||||
color: var(--warn);
|
color: var(--warn);
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.link {
|
||||||
|
color: var(--text);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue