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| as |service index|
> >
<li <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 <a
class="hds-typography-display-300 hds-font-weight-semibold" data-test-service-name
>{{service.Name}}</div> 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> </li>
</VerticalCollection> </VerticalCollection>
{{else}} {{else}}