411fb2e25c
* Modify templates with codemods angle brackets * ui: Fix up problem with intention filter action attribute Co-authored-by: Kenia <19161242+kaxcode@users.noreply.github.com>
26 lines
720 B
Handlebars
26 lines
720 B
Handlebars
{{#if item.TaggedAddresses }}
|
|
{{#tabular-collection
|
|
data-test-addresses
|
|
items=(object-entries item.TaggedAddresses) as |taggedAddress index|
|
|
}}
|
|
<BlockSlot @name="header">
|
|
<th>Tag</th>
|
|
<th>Address</th>
|
|
</BlockSlot>
|
|
<BlockSlot @name="row">
|
|
{{#with (object-at 1 taggedAddress) as |address|}}
|
|
<td>
|
|
{{object-at 0 taggedAddress}}{{#if (and (eq address.Address item.Address) (eq address.Port item.Port))}} <em data-test-address-default>(default)</em>{{/if}}
|
|
</td>
|
|
<td data-test-address>
|
|
{{address.Address}}:{{address.Port}}
|
|
</td>
|
|
{{/with}}
|
|
</BlockSlot>
|
|
{{/tabular-collection}}
|
|
{{else}}
|
|
<p>
|
|
There are no additional addresses.
|
|
</p>
|
|
{{/if}}
|