Skip to content

Commit f0f883c

Browse files
author
Liza Katz
authored
[7.x] Moved pager and pager control directives to doc_table (#39975) (#39993)
* Moved pager and pager control directives to doc_table (#39975) * Moved pager and pager contrlol directives to doc_table * translation fix * Fixed translation
1 parent ddb1961 commit f0f883c

File tree

13 files changed

+9
-9
lines changed

13 files changed

+9
-9
lines changed

src/legacy/core_plugins/kibana/public/discover/doc_table/doc_table.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ import './components/table_header';
2626
import './components/table_row';
2727
import { dispatchRenderComplete } from 'ui/render_complete';
2828
import { uiModules } from 'ui/modules';
29-
import 'ui/pager_control';
30-
import 'ui/pager';
29+
import './pager_control';
30+
import './pager';
3131
import { getRequestInspectorStats, getResponseInspectorStats } from 'ui/courier/utils/courier_inspector_utils';
3232
import { toastNotifications } from 'ui/notify';
3333

src/legacy/ui/public/pager/pager_factory.js renamed to src/legacy/core_plugins/kibana/public/discover/doc_table/pager/pager_factory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919

20-
import { uiModules } from '../modules';
20+
import { uiModules } from 'ui/modules';
2121
import { Pager } from './pager';
2222

2323
const app = uiModules.get('kibana');

src/legacy/ui/public/pager_control/components/tool_bar_pager_buttons/tool_bar_pager_buttons.js renamed to src/legacy/core_plugins/kibana/public/discover/doc_table/pager_control/components/tool_bar_pager_buttons/tool_bar_pager_buttons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919

20-
import { uiModules } from '../../../modules';
20+
import { uiModules } from 'ui/modules';
2121
import template from './tool_bar_pager_buttons.html';
2222

2323
const app = uiModules.get('kibana');

src/legacy/ui/public/pager_control/components/tool_bar_pager_text/tool_bar_pager_text.html renamed to src/legacy/core_plugins/kibana/public/discover/doc_table/pager_control/components/tool_bar_pager_text/tool_bar_pager_text.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="kuiToolBarText" data-test-subj="toolBarPagerText">
22
<span
3-
i18n-id="common.ui.pagerControl.pagesCountLabel"
3+
i18n-id="kbn.docTable.pagerControl.pagesCountLabel"
44
i18n-default-message="{startItem}&ndash;{endItem} of {totalItems}"
55
i18n-values="{
66
startItem: (toolBarPagerText.startItem | number),

src/legacy/ui/public/pager_control/components/tool_bar_pager_text/tool_bar_pager_text.js renamed to src/legacy/core_plugins/kibana/public/discover/doc_table/pager_control/components/tool_bar_pager_text/tool_bar_pager_text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919

20-
import { uiModules } from '../../../modules';
20+
import { uiModules } from 'ui/modules';
2121
import template from './tool_bar_pager_text.html';
2222

2323
const app = uiModules.get('kibana');

0 commit comments

Comments
 (0)