open-nomad/ui/app/templates/components/job-deployments-stream.hbs
2018-03-05 09:32:04 -08:00

15 lines
472 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}}
{{moment-format record.deployment.version.submitTime "MMMM D, YYYY"}}
{{else}}
Unknown time
{{/if}}
</li>
{{/if}}
<li data-test-deployment class="timeline-object">
{{job-deployment deployment=record.deployment}}
</li>
{{/each}}