Fix JSON hint (#15890)

This commit is contained in:
Tim Roes 2018-01-08 16:51:31 +01:00 committed by GitHub
parent b4cf795e83
commit d4300794df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,17 @@
<div class="form-group regex">
<span class="hintbox-label" ng-click="showJsonHint = !showJsonHint">
<label for="visEditorRawJson{{agg.id}}">JSON Input</label>
<i class="fa fa-info-circle"></i>
<span class="hintbox-label">
<label for="visEditorRawJson{{agg.id}}">
JSON Input
<kbn-info
placement="right"
info='Any JSON formatted properties you add here will be merged with the elasticsearch aggregation definition for this section. For example "shard_size" on a terms aggregation.'>
</kbn-info>
</label>
</span>
<div class="hintbox" ng-show="showJsonHint">
<p>
Any JSON formatted properties you add here will be merged with the elasticsearch aggregation definition for this section. For example <i>shard_size</i> on a <i>terms</i> aggregation
</p>
</div>
<p>
<textarea
type="text"
aria-labelledby="visEditorRawJson{{agg.id}}"
id="visEditorRawJson{{agg.id}}"
class="form-control"
ng-model="agg.params.json"
validate-json