Link service in exported-service list

This commit is contained in:
Michael Klein 2022-10-10 10:24:45 +02:00
parent f5934e75be
commit 92ddea3627
1 changed files with 20 additions and 4 deletions

View File

@ -56,11 +56,27 @@
as |service index|
>
<li
class="px-3 h-12 flex items-center border-b border-hds-border-primary border-b"
class="px-3 h-12 border-b border-hds-border-primary border-b"
>
<div
class="hds-typography-display-300 hds-font-weight-semibold"
>{{service.Name}}</div>
<a
data-test-service-name
class="hds-typography-display-300 text-hds-foreground-strong hds-font-weight-semibold h-full w-full flex items-center"
href={{href-to
"dc.services.show.index"
service.Name
params=(if
(not-eq service.Partition partition)
(hash
partition=service.Partition
nspace=service.Namespace
peer=service.PeerName
)
(hash peer=service.PeerName)
)
}}
>
{{service.Name}}
</a>
</li>
</VerticalCollection>
{{else}}