|
@@ -21,8 +21,11 @@ import componentUtils from './componentUtils';
|
|
|
import huePubSub from 'utils/huePubSub';
|
|
import huePubSub from 'utils/huePubSub';
|
|
|
import I18n from 'utils/i18n';
|
|
import I18n from 'utils/i18n';
|
|
|
|
|
|
|
|
|
|
+import { ASSIST_KEY_COMPONENT } from './assist/ko.assistKey';
|
|
|
|
|
+
|
|
|
export const NAME = 'catalog-entries-list';
|
|
export const NAME = 'catalog-entries-list';
|
|
|
|
|
|
|
|
|
|
+// prettier-ignore
|
|
|
const TEMPLATE = `
|
|
const TEMPLATE = `
|
|
|
<script type="text/html" id="entries-table-td-description">
|
|
<script type="text/html" id="entries-table-td-description">
|
|
|
<td data-bind="attr: { 'title': comment }">
|
|
<td data-bind="attr: { 'title': comment }">
|
|
@@ -186,7 +189,7 @@ const TEMPLATE = `
|
|
|
<a href="javascript: void(0);" data-bind="click: onClick">
|
|
<a href="javascript: void(0);" data-bind="click: onClick">
|
|
|
<span data-bind="text: catalogEntry().name"></span>
|
|
<span data-bind="text: catalogEntry().name"></span>
|
|
|
<!-- ko if: isKey -->
|
|
<!-- ko if: isKey -->
|
|
|
- <i class="fa fa-key" data-bind="tooltip: { title: keyText, html: true }"></i>
|
|
|
|
|
|
|
+ <!-- ko component: { name: '${ ASSIST_KEY_COMPONENT }', params: { entry: catalogEntry } } --><!-- /ko -->
|
|
|
<!-- /ko -->
|
|
<!-- /ko -->
|
|
|
<!-- ko if: popularity && popularity() >= 5 -->
|
|
<!-- ko if: popularity && popularity() >= 5 -->
|
|
|
<i data-bind="tooltip: { title: '${I18n(
|
|
<i data-bind="tooltip: { title: '${I18n(
|