parent
960fadea55
commit
f010694f5c
|
@ -60,7 +60,9 @@ app.directive('discoverField', function ($compile, i18n) {
|
|||
let warnings = [];
|
||||
|
||||
if (field.scripted) {
|
||||
warnings.push('Scripted fields can take a long time to execute.');
|
||||
warnings.push(i18n('kbn.discover.fieldChooser.discoverField.scriptedFieldsTakeLongExecuteDescription', {
|
||||
defaultMessage: 'Scripted fields can take a long time to execute.',
|
||||
}));
|
||||
}
|
||||
|
||||
if (warnings.length > 1) {
|
||||
|
|
|
@ -116,10 +116,18 @@
|
|||
</span>
|
||||
</button>
|
||||
|
||||
<section aria-label="Histogram of found documents" class="dscTimechart" ng-if="opts.timefield">
|
||||
<section
|
||||
aria-label="{{::'kbn.discover.histogramOfFoundDocumentsAriaLabel' | i18n: {defaultMessage: 'Histogram of found documents'} }}"
|
||||
class="dscTimechart"
|
||||
ng-if="opts.timefield"
|
||||
>
|
||||
<header class="dscTimechart__header">
|
||||
<div class="small">
|
||||
<span tooltip="To change the time, click the clock icon in the navigation bar">{{timeRange.from | moment}} - {{timeRange.to | moment}}</span>
|
||||
<span
|
||||
tooltip="{{::'kbn.discover.howToChangeTheTimeTooltip' | i18n: {defaultMessage: 'To change the time, click the clock icon in the navigation bar'} }}"
|
||||
>
|
||||
{{timeRange.from | moment}} - {{timeRange.to | moment}}
|
||||
</span>
|
||||
|
||||
—
|
||||
|
||||
|
@ -157,7 +165,11 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<section class="dscTable" fixed-scroll aria-label="Documents">
|
||||
<section
|
||||
class="dscTable"
|
||||
fixed-scroll
|
||||
aria-label="{{::'kbn.discover.documentsAriaLabel' | i18n: {defaultMessage: 'Documents'} }}"
|
||||
>
|
||||
<doc-table
|
||||
hits="rows"
|
||||
index-pattern="indexPattern"
|
||||
|
|
Loading…
Reference in a new issue