open-nomad/ui/app/templates/components/job-deployments-stream.hbs

15 lines
459 B
Handlebars
Raw Normal View History

2018-02-28 02:59:05 +00:00
{{#each annotatedDeployments key="deployment.id" as |record|}}
2017-09-19 14:47:10 +00:00
{{#if record.meta.showDate}}
<li data-test-deployment-time class="timeline-note">
2017-09-19 14:47:10 +00:00
{{#if record.deployment.version.submitTime}}
{{format-date record.deployment.version.submitTime}}
2017-09-19 14:47:10 +00:00
{{else}}
Unknown time
{{/if}}
</li>
{{/if}}
<li data-test-deployment class="timeline-object">
<JobDeployment @deployment={{record.deployment}} />
2017-09-19 14:47:10 +00:00
</li>
{{/each}}