refact: add namespace to nested detail pages (#15261)

* refact: add namespace to job breadcrumb

* refact: edit markup for correctness

* styling: add child span style

* chore: undo prev commits after design exploration

* ui: add namespace to alloc details

* ui: add namespace to task details

* ui: add namespace to taskgroup
This commit is contained in:
Jai
2022-11-23 11:36:47 -05:00
committed by GitHub
parent 2167694abe
commit 2d52016584
3 changed files with 22 additions and 0 deletions

View File

@@ -124,6 +124,14 @@
</LinkTo>
</Tooltip>
</span>
<span class="pair">
<span class="term">
Namespace
</span>
<span>
{{this.model.job.namespace.name}}
</span>
</span>
</div>
</div>
<div class="boxed-section">

View File

@@ -97,6 +97,14 @@
{{this.model.task.lifecycleName}}
</span>
</span>
<span class="pair">
<span class="term">
Namespace
</span>
<span>
{{this.model.allocation.job.namespace.name}}
</span>
</span>
{{#if (and (can "list variables") this.model.task.pathLinkedVariable)}}
<span class="pair" data-test-task-stat="variables">

View File

@@ -71,6 +71,12 @@
</span>
{{format-scheduled-bytes this.model.reservedEphemeralDisk start="MiB"}}
</span>
<span class="pair">
<span class="term">
Namespace
</span>
{{this.model.job.namespace.name}}
</span>
{{#if this.model.scaling}}
<span class="pair" data-test-task-group-min>
<span class="term">