open-nomad/ui/app/templates/components/job-deployments-stream.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

15 lines
459 B
Handlebars

{{#each annotatedDeployments key="deployment.id" as |record|}}
{{#if record.meta.showDate}}
<li data-test-deployment-time class="timeline-note">
{{#if record.deployment.version.submitTime}}
{{format-date record.deployment.version.submitTime}}
{{else}}
Unknown time
{{/if}}
</li>
{{/if}}
<li data-test-deployment class="timeline-object">
<JobDeployment @deployment={{record.deployment}} />
</li>
{{/each}}