open-nomad/ui/app/templates/components/reschedule-event-row.hbs

44 lines
1.3 KiB
Handlebars

<li class="timeline-note">
{{moment-format time "MMMM D, YYYY HH:mm:ss"}}
</li>
<li class="timeline-object">
<div class="boxed-section">
{{#unless linkToAllocation}}
<div class="boxed-section-head">
This Allocation
</div>
{{/unless}}
<div class="boxed-section-body inline-definitions">
<div class="columns">
<div class="column is-centered is-minimum">
<span class="tag {{allocation.statusClass}}">
{{allocation.clientStatus}}
</span>
</div>
<div class="column">
<div class="boxed-section-row">
<span class="pair">
<span class="term">Allocation</span>
{{#if linkToAllocation}}
{{#link-to "allocations.allocation" allocation.id}}
<code>{{allocation.shortId}}</code>
{{/link-to}}
{{else}}
<code>{{allocation.shortId}}</code>
{{/if}}
</span>
<span class="pair">
<span class="term">Client</span>
<span>
{{#link-to "clients.client" allocation.node.id}}
<code>{{allocation.node.id}}</code>
{{/link-to}}
</span>
</span>
</div>
</div>
</div>
</div>
</div>
</li>