1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

Merge pull request #3282 from AlexSCorey/2261-LimitHelper

Add helper text to the limit field prompt modal

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot] 2019-02-22 17:55:08 +00:00 committed by GitHub
commit 22677029e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,7 @@ function TemplatesStrings (BaseString) {
SKIP_TAGS: t.s('Skip Tags'),
JOB_TAGS: t.s('Job Tags'),
LIMIT: t.s('Limit'),
LIMIT_HELP: t.s('Provide a host pattern to further constrain the list of hosts that will be managed or affected by the playbook. Multiple patterns are allowed. Refer to Ansible documentation for more information and examples on patterns.'),
JOB_TYPE: t.s('Job Type'),
VERBOSITY: t.s('Verbosity'),
CHOOSE_JOB_TYPE: t.s('Choose a job type'),

View File

@ -22,6 +22,9 @@
<div class="form-group Form-formGroup Form-formGroup--singleColumn" ng-if="promptData.launchConf.ask_limit_on_launch">
<label for="limit">
<span class="Form-inputLabel">{{:: vm.strings.get('prompt.LIMIT') }}</span>
<a id="awp-limit" href="" aw-pop-over="{{:: vm.strings.get('prompt.LIMIT_HELP') }}" data-placement="right" data-container="body" over-title="{{:: vm.strings.get('prompt.LIMIT') }}" class="help-link" data-original-title="" title="" tabindex="-1">
<i class="fa fa-question-circle"></i>
</a>
</label>
<div>
<input