mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 23:51:09 +03:00
Adds help text to host limit error shown in the output details of inventory sync jobs
This commit is contained in:
parent
cc3f2e0819
commit
a82304765d
@ -242,9 +242,10 @@ function getHostLimitErrorDetails () {
|
||||
}
|
||||
|
||||
const label = strings.get('labels.HOST_LIMIT_ERROR');
|
||||
const tooltip = strings.get('tooltips.HOST_LIMIT');
|
||||
const value = resource.model.get('org_host_limit_error');
|
||||
|
||||
return { label, value };
|
||||
return { tooltip, label, value };
|
||||
}
|
||||
|
||||
function getLaunchedByDetails () {
|
||||
|
@ -83,7 +83,19 @@
|
||||
|
||||
<!-- HOST LIMIT ERROR DETAIL -->
|
||||
<div class="JobResults-resultRow" ng-show="vm.hostLimitError">
|
||||
<label class="JobResults-resultRowLabel">{{ vm.hostLimitError.label }}</label>
|
||||
<label class="JobResults-resultRowLabel">
|
||||
{{ vm.hostLimitError.label }}
|
||||
<a id="awp-hostLimitError"
|
||||
href=""
|
||||
aw-pop-over="{{ vm.hostLimitError.tooltip }}"
|
||||
data-placement="top"
|
||||
data-container="body"
|
||||
class="help-link"
|
||||
title="{{ vm.hostLimitError.label }}"
|
||||
tabindex="-1">
|
||||
<i class="fa fa-question-circle"></i>
|
||||
</a>
|
||||
</label>
|
||||
<div class="JobResults-resultRowText">
|
||||
{{ vm.hostLimitError.value }}
|
||||
</div>
|
||||
|
@ -22,6 +22,7 @@ function OutputStrings (BaseString) {
|
||||
CREDENTIAL: t.s('View the Credential'),
|
||||
EXPAND_OUTPUT: t.s('Expand Output'),
|
||||
EXTRA_VARS: t.s('Read-only view of extra variables added to the job template'),
|
||||
HOST_LIMIT: t.s('When this field is true, the job\'s inventory belongs to an organization that has exceeded it\'s limit of hosts as defined by the system administrator.'),
|
||||
INVENTORY: t.s('View the Inventory'),
|
||||
INVENTORY_SCM: t.s('View the Project'),
|
||||
INVENTORY_SCM_JOB: t.s('View Project checkout results'),
|
||||
|
Loading…
Reference in New Issue
Block a user