open-nomad/ui/app/templates/components/server-agent-row.hbs
Buck Doyle 2998deac50
Convert to angle bracket invocation (#8075)
This is mostly a direct application of the ember-angle-brackets-codemod.
I manually restored newlines in multi-line component invocations, usually
preserving file line length except for now-non-positional link-to @route.

I needed to rename task to taskState in some cases to avoid Ember
Concurrency naming conflicts.
2020-06-01 14:03:56 -05:00

7 lines
409 B
Handlebars

<td data-test-server-name><LinkTo @route="servers.server" @model={{agent.id}} class="is-primary">{{agent.name}}</LinkTo></td>
<td data-test-server-status>{{agent.status}}</td>
<td data-test-server-is-leader>{{if agent.isLeader "True" "False"}}</td>
<td data-test-server-address>{{agent.address}}</td>
<td data-test-server-port>{{agent.serfPort}}</td>
<td data-test-server-datacenter>{{agent.datacenter}}</td>