|
@@ -890,7 +890,7 @@ from desktop.views import _ko
|
|
|
${_('Tables')}
|
|
${_('Tables')}
|
|
|
<!-- /ko -->
|
|
<!-- /ko -->
|
|
|
<!-- ko if: sourceType === 'solr' -->
|
|
<!-- ko if: sourceType === 'solr' -->
|
|
|
- <div data-bind="appAwareTemplateContextMenu: { template: 'collection-title-context-items', scrollContainer: '.assist-db-scrollable' }">${_('Collections')}</div>
|
|
|
|
|
|
|
+ <div data-bind="appAwareTemplateContextMenu: { template: 'collection-title-context-items', scrollContainer: '.assist-db-scrollable' }">${_('Indexes')}</div>
|
|
|
<!-- /ko -->
|
|
<!-- /ko -->
|
|
|
<!-- ko template: 'assist-db-header-actions' --><!-- /ko -->
|
|
<!-- ko template: 'assist-db-header-actions' --><!-- /ko -->
|
|
|
</div>
|
|
</div>
|
|
@@ -1864,8 +1864,8 @@ from desktop.views import _ko
|
|
|
errorLoadingTablePreview: "${ _('There was a problem loading the table preview') }"
|
|
errorLoadingTablePreview: "${ _('There was a problem loading the table preview') }"
|
|
|
};
|
|
};
|
|
|
var i18nCollections = {
|
|
var i18nCollections = {
|
|
|
- errorLoadingDatabases: "${ _('There was a problem loading the collections') }",
|
|
|
|
|
- errorLoadingTablePreview: "${ _('There was a problem loading the collection preview') }"
|
|
|
|
|
|
|
+ errorLoadingDatabases: "${ _('There was a problem loading the indexes') }",
|
|
|
|
|
+ errorLoadingTablePreview: "${ _('There was a problem loading the index preview') }"
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
self.apiHelper = ApiHelper.getInstance();
|
|
self.apiHelper = ApiHelper.getInstance();
|
|
@@ -1954,7 +1954,7 @@ from desktop.views import _ko
|
|
|
isSolr: true
|
|
isSolr: true
|
|
|
}, params.sql)),
|
|
}, params.sql)),
|
|
|
apiHelper: self.apiHelper,
|
|
apiHelper: self.apiHelper,
|
|
|
- name: '${ _("Collections") }',
|
|
|
|
|
|
|
+ name: '${ _("Indexes") }',
|
|
|
type: 'solr',
|
|
type: 'solr',
|
|
|
icon: 'fa-search-plus',
|
|
icon: 'fa-search-plus',
|
|
|
minHeight: 75
|
|
minHeight: 75
|
|
@@ -2280,7 +2280,7 @@ from desktop.views import _ko
|
|
|
<div class="assist-flex-header">
|
|
<div class="assist-flex-header">
|
|
|
<div class="assist-inner-header">
|
|
<div class="assist-inner-header">
|
|
|
<!-- ko if: isSolr -->
|
|
<!-- ko if: isSolr -->
|
|
|
- ${ _('Collections') }
|
|
|
|
|
|
|
+ ${ _('Indexes') }
|
|
|
<!-- /ko -->
|
|
<!-- /ko -->
|
|
|
<!-- ko ifnot: isSolr -->
|
|
<!-- ko ifnot: isSolr -->
|
|
|
${ _('Tables') }
|
|
${ _('Tables') }
|
|
@@ -2307,7 +2307,7 @@ from desktop.views import _ko
|
|
|
<!-- ko if: filteredTables().length === 0 && (!filter.querySpec() || filter.querySpec().query === '') -->
|
|
<!-- ko if: filteredTables().length === 0 && (!filter.querySpec() || filter.querySpec().query === '') -->
|
|
|
<div class="assist-no-entries">
|
|
<div class="assist-no-entries">
|
|
|
<!-- ko if: isSolr -->
|
|
<!-- ko if: isSolr -->
|
|
|
- ${ _('No collections selected.') }
|
|
|
|
|
|
|
+ ${ _('No indexes selected.') }
|
|
|
<!-- /ko -->
|
|
<!-- /ko -->
|
|
|
<!-- ko ifnot: isSolr -->
|
|
<!-- ko ifnot: isSolr -->
|
|
|
${ _('No tables identified.') }
|
|
${ _('No tables identified.') }
|
|
@@ -2320,7 +2320,7 @@ from desktop.views import _ko
|
|
|
<!-- ko if: filteredTables().length > 0 -->
|
|
<!-- ko if: filteredTables().length > 0 -->
|
|
|
<ul class="database-tree assist-tables" data-bind="foreachVisible: { data: filteredTables, minHeight: 22, container: '.assist-db-scrollable', skipScrollEvent: true }">
|
|
<ul class="database-tree assist-tables" data-bind="foreachVisible: { data: filteredTables, minHeight: 22, container: '.assist-db-scrollable', skipScrollEvent: true }">
|
|
|
<!-- ko if: hasErrors -->
|
|
<!-- ko if: hasErrors -->
|
|
|
- <li class="assist-table hue-warning" data-bind="attr: { 'title': $parent.isSolr() ? '${ _ko('Error loading collection details.') }' : '${ _ko('Error loading table details.') }'}">
|
|
|
|
|
|
|
+ <li class="assist-table hue-warning" data-bind="attr: { 'title': $parent.isSolr() ? '${ _ko('Error loading index details.') }' : '${ _ko('Error loading table details.') }'}">
|
|
|
<span class="assist-entry">
|
|
<span class="assist-entry">
|
|
|
<i class="hue-warning fa fa-fw muted valign-middle fa-warning"></i>
|
|
<i class="hue-warning fa fa-fw muted valign-middle fa-warning"></i>
|
|
|
<span data-bind="text: catalogEntry.getDisplayName()"></span>
|
|
<span data-bind="text: catalogEntry.getDisplayName()"></span>
|