From 47a81e2da7db37c4df6498e7748b31272ead36ba Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Wed, 2 May 2018 14:01:34 -0700 Subject: [PATCH] Add rescheduled icon to allocation row --- ui/app/templates/clients/client.hbs | 1 + ui/app/templates/components/allocation-row.hbs | 7 +++++++ .../components/job-deployment/deployment-allocations.hbs | 1 + ui/app/templates/jobs/job/task-group.hbs | 1 + 4 files changed, 10 insertions(+) diff --git a/ui/app/templates/clients/client.hbs b/ui/app/templates/clients/client.hbs index 132762710..b9ec625aa 100644 --- a/ui/app/templates/clients/client.hbs +++ b/ui/app/templates/clients/client.hbs @@ -43,6 +43,7 @@ sortDescending=sortDescending class="with-foot" as |t|}} {{#t.head}} + {{#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}} diff --git a/ui/app/templates/components/allocation-row.hbs b/ui/app/templates/components/allocation-row.hbs index ce781d1aa..b2f7e1103 100644 --- a/ui/app/templates/components/allocation-row.hbs +++ b/ui/app/templates/components/allocation-row.hbs @@ -1,3 +1,10 @@ + + {{#if allocation.nextAllocation}} + + {{x-icon "history" class="is-faded"}} + + {{/if}} + {{#link-to "allocations.allocation" allocation class="is-primary"}} {{allocation.shortId}} diff --git a/ui/app/templates/components/job-deployment/deployment-allocations.hbs b/ui/app/templates/components/job-deployment/deployment-allocations.hbs index f42afdb83..242427238 100644 --- a/ui/app/templates/components/job-deployment/deployment-allocations.hbs +++ b/ui/app/templates/components/job-deployment/deployment-allocations.hbs @@ -7,6 +7,7 @@ source=deployment.allocations class="allocations" as |t|}} {{#t.head}} + ID Modified Name diff --git a/ui/app/templates/jobs/job/task-group.hbs b/ui/app/templates/jobs/job/task-group.hbs index f1ab0acb2..afebdd796 100644 --- a/ui/app/templates/jobs/job/task-group.hbs +++ b/ui/app/templates/jobs/job/task-group.hbs @@ -73,6 +73,7 @@ sortDescending=sortDescending class="with-foot" as |t|}} {{#t.head}} + {{#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}}