Skip to content

Commit b63287a

Browse files
committed
Fixes AB#925: Correct core count on job pool picker
1 parent 3438e86 commit b63287a

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

desktop/i18n/resources.resjson

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,11 @@
239239
"pool-os-picker.category.rendering": "Graphics and rendering",
240240
"pool-os-picker.containerConfiguration": "Container configuration",
241241
"pool-os-picker.nodeAgentSelection": "Based on your selection, node agent '{sku}' will be used",
242+
"pool-picker.coreCount": "core count",
243+
"pool-picker.description": "Showing pools with a container image matching {filters}",
242244
"pool-picker.filterByID": "Search by id",
243245
"pool-picker.filterByOS": "Filter by OS",
246+
"pool-picker.nodeCount": "node count",
244247
"pool-picker.noneMatching": "You don't have any pools matching the current filters.",
245248
"pool-picker.reset": "Reset",
246249
"pool-scale-picker.evaluationInterval.label": "Formula evaluation interval",

desktop/src/app/components/job/action/add/pool-picker/pool-picker.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
<div class="info">
2424
<div class="title" [title]="pool.id">{{pool.id}}</div >
2525
<div class="details">
26-
<div title="Pool has {{pool.targetNodes}} nodes" class="metric">
26+
<div title="{{'pool-picker.nodeCount' | i18n}}: {{pool.targetNodes}}" class="metric">
2727
<i class="fa fa-tv" aria-hidden="true"></i>
28-
<span attr.aria-label="{{pool.targetNodes}} nodes">{{pool.targetNodes}}</span>
28+
<span>{{pool.targetNodes}}</span>
2929
</div>
30-
<div title="Pool has {{poolCoreCount(pool)}} cores" class="metric">
30+
<div title="{{'pool-picker.coreCount' | i18n }}: {{poolCoreCount(pool)}}" class="metric">
3131
<i class="fa fa-microchip" aria-hidden="true"></i>
32-
<span attr.aria-label="{{pool.targetNodes}} cores">{{poolCoreCount(pool)}}</span>
32+
<span>{{poolCoreCount(pool)}}</span>
3333
</div>
3434
<div class="pool-tags">
3535
<bl-tags [tags]="pool.tags" [maxTags]="3"></bl-tags>

desktop/src/app/components/job/action/add/pool-picker/pool-picker.i18n.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ pool-picker:
33
filterByID: Search by id
44
reset: Reset
55
noneMatching: You don't have any pools matching the current filters.
6+
coreCount: core count
7+
nodeCount: node count

0 commit comments

Comments
 (0)