mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-02-11 21:41:46 +01:00
improve detail on warning cards
This commit is contained in:
@@ -352,7 +352,7 @@
|
||||
<b>Missing Metric</b>
|
||||
</CardHeader>
|
||||
<CardBody>
|
||||
<p>No dataset returned for <b>{item.metric}</b>.</p>
|
||||
<p>No dataset(s) returned for <b>{item.metric}</b>.</p>
|
||||
<p class="mb-1">Metric was not found in metric store for cluster <b>{$initq.data.job.cluster}</b>.</p>
|
||||
</CardBody>
|
||||
</Card>
|
||||
@@ -387,17 +387,17 @@
|
||||
<CardBody>
|
||||
{#if missingMetrics.length > 0}
|
||||
<p>
|
||||
No data at all is available for the metrics: {missingMetrics.join(
|
||||
No datasets were returned for the metrics: <b>{missingMetrics.join(
|
||||
", ",
|
||||
)}
|
||||
)}</b>
|
||||
</p>
|
||||
{/if}
|
||||
{#if missingHosts.length > 0}
|
||||
<p>Some metrics are missing for the following hosts:</p>
|
||||
<p>Metrics are missing for the following hosts:</p>
|
||||
<ul>
|
||||
{#each missingHosts as missing}
|
||||
<li>
|
||||
{missing.hostname}: {missing.metrics.join(", ")}
|
||||
<b>{missing.hostname}</b>: {missing.metrics.join(", ")}
|
||||
</li>
|
||||
{/each}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user