Add rescheduled icon to allocation row

This commit is contained in:
Michael Lange
2018-05-02 14:01:34 -07:00
parent 5db8e6d135
commit 47a81e2da7
4 changed files with 10 additions and 0 deletions

View File

@@ -43,6 +43,7 @@
sortDescending=sortDescending
class="with-foot" as |t|}}
{{#t.head}}
<th class="is-narrow"></th>
{{#t.sort-by prop="shortId"}}ID{{/t.sort-by}}
{{#t.sort-by prop="modifyIndex" title="Modify Index"}}Modified{{/t.sort-by}}
{{#t.sort-by prop="name"}}Name{{/t.sort-by}}

View File

@@ -1,3 +1,10 @@
<td data-test-indicators class="is-narrow">
{{#if allocation.nextAllocation}}
<span class="tooltip text-center" aria-label="Allocation was rescheduled">
{{x-icon "history" class="is-faded"}}
</span>
{{/if}}
</td>
<td data-test-short-id>
{{#link-to "allocations.allocation" allocation class="is-primary"}}
{{allocation.shortId}}

View File

@@ -7,6 +7,7 @@
source=deployment.allocations
class="allocations" as |t|}}
{{#t.head}}
<th class="is-narrow"></th>
<th>ID</th>
<th>Modified</th>
<th>Name</th>

View File

@@ -73,6 +73,7 @@
sortDescending=sortDescending
class="with-foot" as |t|}}
{{#t.head}}
<th class="is-narrow"></th>
{{#t.sort-by prop="shortId"}}ID{{/t.sort-by}}
{{#t.sort-by prop="modifyIndex" title="Modify Index"}}Modified{{/t.sort-by}}
{{#t.sort-by prop="name"}}Name{{/t.sort-by}}