mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-29 11:21:49 -05:00
Add source WF label to job details template
* Change label from "Parent WF" to "Source WF" * Fix WF job result Firefox responsive style bugs
This commit is contained in:
@@ -334,7 +334,7 @@
|
||||
.JobResults-container {
|
||||
display: grid;
|
||||
grid-gap: 20px;
|
||||
grid-template-columns: minmax(300px, 1fr) minmax(500px, 2fr);
|
||||
grid-template-columns: minmax(400px, 1fr) minmax(500px, 2fr);
|
||||
grid-template-rows: minmax(500px, ~"calc(100vh - 130px)");
|
||||
|
||||
.at-Panel {
|
||||
@@ -457,5 +457,6 @@
|
||||
.JobResults-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 400px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -120,10 +120,12 @@ function getSourceWorkflowJobDetails () {
|
||||
return null;
|
||||
}
|
||||
|
||||
const label = strings.get('labels.SOURCE_WORKFLOW_JOB');
|
||||
const value = sourceWorkflowJob.name;
|
||||
const link = `/#/workflows/${sourceWorkflowJob.id}`;
|
||||
const tooltip = strings.get('tooltips.SOURCE_WORKFLOW_JOB');
|
||||
|
||||
return { link, tooltip };
|
||||
return { label, value, link, tooltip };
|
||||
}
|
||||
|
||||
function getSliceJobDetails () {
|
||||
|
||||
@@ -281,6 +281,19 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- SOURCE WORKFLOW JOB DETAIL -->
|
||||
<div class="JobResults-resultRow" ng-if="vm.sourceWorkflowJob">
|
||||
<label class="JobResults-resultRowLabel">{{ vm.sourceWorkflowJob.label }}</label>
|
||||
<div class="JobResults-resultRowText">
|
||||
<a href="{{ vm.sourceWorkflowJob.link }}"
|
||||
aw-tool-tip="{{ vm.sourceWorkflowJob.tooltip }}"
|
||||
data-placement="top">
|
||||
{{ vm.sourceWorkflowJob.value }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- EXTRA VARIABLES DETAIL -->
|
||||
<at-code-mirror
|
||||
class="JobResults-resultRow"
|
||||
|
||||
@@ -74,6 +74,7 @@ function OutputStrings (BaseString) {
|
||||
SKIP_TAGS: t.s('Skip Tags'),
|
||||
SOURCE: t.s('Source'),
|
||||
SOURCE_CREDENTIAL: t.s('Source Credential'),
|
||||
SOURCE_WORKFLOW_JOB: t.s('Source Workflow'),
|
||||
STARTED: t.s('Started'),
|
||||
STATUS: t.s('Status'),
|
||||
VERBOSITY: t.s('Verbosity'),
|
||||
|
||||
Reference in New Issue
Block a user