mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
adding vault credential to job-results page
if JT was saved with a vault password
This commit is contained in:
parent
fa5c92fa3b
commit
ecf1a90461
@ -89,6 +89,7 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
|||||||
$scope.machine_credential_link = getTowerLink('credential');
|
$scope.machine_credential_link = getTowerLink('credential');
|
||||||
$scope.cloud_credential_link = getTowerLink('cloud_credential');
|
$scope.cloud_credential_link = getTowerLink('cloud_credential');
|
||||||
$scope.network_credential_link = getTowerLink('network_credential');
|
$scope.network_credential_link = getTowerLink('network_credential');
|
||||||
|
$scope.vault_credential_link = getTowerLink('vault_credential');
|
||||||
$scope.schedule_link = getTowerLink('schedule');
|
$scope.schedule_link = getTowerLink('schedule');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -323,6 +323,21 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- VAULT CREDENTAIL DETAIL -->
|
||||||
|
<div class="JobResults-resultRow"
|
||||||
|
ng-show="job.summary_fields.vault_credential.name">
|
||||||
|
<label class="JobResults-resultRowLabel">
|
||||||
|
Vault Credential
|
||||||
|
</label>
|
||||||
|
<div class="JobResults-resultRowText">
|
||||||
|
<a href="{{ vault_credential_link }}"
|
||||||
|
aw-tool-tip="Edit the credential"
|
||||||
|
data-placement="top">
|
||||||
|
{{ job.summary_fields.vault_credential.name }}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- FORKS DETAIL -->
|
<!-- FORKS DETAIL -->
|
||||||
<div class="JobResults-resultRow"
|
<div class="JobResults-resultRow"
|
||||||
ng-show="job.forks !== undefined">
|
ng-show="job.forks !== undefined">
|
||||||
|
Loading…
Reference in New Issue
Block a user