From ecf1a9046167a0103c420369e9fb5e94304e1604 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Mon, 10 Jul 2017 14:32:25 -0700 Subject: [PATCH] adding vault credential to job-results page if JT was saved with a vault password --- .../src/job-results/job-results.controller.js | 1 + .../src/job-results/job-results.partial.html | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/awx/ui/client/src/job-results/job-results.controller.js b/awx/ui/client/src/job-results/job-results.controller.js index 881c04037b..e66b2b746a 100644 --- a/awx/ui/client/src/job-results/job-results.controller.js +++ b/awx/ui/client/src/job-results/job-results.controller.js @@ -89,6 +89,7 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy $scope.machine_credential_link = getTowerLink('credential'); $scope.cloud_credential_link = getTowerLink('cloud_credential'); $scope.network_credential_link = getTowerLink('network_credential'); + $scope.vault_credential_link = getTowerLink('vault_credential'); $scope.schedule_link = getTowerLink('schedule'); }; diff --git a/awx/ui/client/src/job-results/job-results.partial.html b/awx/ui/client/src/job-results/job-results.partial.html index ac5ad64022..ae6b723305 100644 --- a/awx/ui/client/src/job-results/job-results.partial.html +++ b/awx/ui/client/src/job-results/job-results.partial.html @@ -323,6 +323,21 @@ + +
+ + +
+