open-nomad/ui/app/templates/components/job-deployments-stream.hbs
2019-02-01 09:19:28 -08:00

15 lines
455 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">
{{job-deployment deployment=record.deployment}}
</li>
{{/each}}