open-nomad/ui/app/templates/components/reschedule-event-row.hbs
Michael Lange 940a5325c7 New reschedule-event-row component
Intended to be used in a timeline view.
2018-05-04 19:36:54 -07:00

34 lines
976 B
Handlebars

<li class="timeline-note">
{{#if label}}
<strong>{{label}}</strong>
{{/if}}
{{moment-format time "MMMM D, YYYY HH:mm:ss"}}
</li>
<li class="timeline-object">
<div class="boxed-section">
<div class="boxed-section-head is-light inline-definitions">
<span class="bumper-right tag {{allocation.statusClass}}">
{{allocation.clientStatus}}
</span>
<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>
</li>