Add helper text to the limit field prompt modal

This commit is contained in:
Alex Corey 2019-02-21 13:47:39 -05:00
parent 5584f6a98b
commit 0cae612159
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