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

11 lines
353 B
Handlebars

{{#each annotatedVersions key="version.id" as |record|}}
{{#if record.meta.showDate}}
<li data-test-version-time class="timeline-note">
{{moment-format record.version.submitTime "MMMM D, YYYY"}}
</li>
{{/if}}
<li data-test-version class="timeline-object">
{{job-version version=record.version verbose=verbose}}
</li>
{{/each}}