From 8f599ce136712c911ab443c67e57880ed2dfb873 Mon Sep 17 00:00:00 2001 From: Luiz Aoqui Date: Wed, 20 Oct 2021 20:24:20 -0400 Subject: [PATCH] ui: add client name tooltip when displaying client ID in tables --- ui/app/templates/components/allocation-row.hbs | 16 ++++++++++++++-- .../components/plugin-allocation-row.hbs | 8 +++++++- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/ui/app/templates/components/allocation-row.hbs b/ui/app/templates/components/allocation-row.hbs index 0fdc3174ecbb..5c2a317b5d4e 100644 --- a/ui/app/templates/components/allocation-row.hbs +++ b/ui/app/templates/components/allocation-row.hbs @@ -37,11 +37,23 @@ {{this.allocation.clientStatus}} {{#if (eq this.context "volume")}} - {{this.allocation.node.shortId}} + + + + {{this.allocation.node.shortId}} + + + {{/if}} {{#if (or (eq this.context "taskGroup") (eq this.context "job"))}} {{this.allocation.jobVersion}} - {{this.allocation.node.shortId}} + + + + {{this.allocation.node.shortId}} + + + {{else if (or (eq this.context "node") (eq this.context "volume"))}} {{#if (or this.allocation.job.isPending this.allocation.job.isReloading)}} diff --git a/ui/app/templates/components/plugin-allocation-row.hbs b/ui/app/templates/components/plugin-allocation-row.hbs index b1a10734a32e..e0c5352a10c9 100644 --- a/ui/app/templates/components/plugin-allocation-row.hbs +++ b/ui/app/templates/components/plugin-allocation-row.hbs @@ -44,7 +44,13 @@ - {{this.allocation.node.shortId}} + + + + {{this.allocation.node.shortId}} + + + {{#if (or this.allocation.job.isPending this.allocation.job.isReloading)}} ...