|
|
@@ -168,7 +168,7 @@ from notebook.conf import ENABLE_QUERY_BUILDER, ENABLE_QUERY_SCHEDULING, get_ord
|
|
|
|
|
|
<script type="text/html" id="hdfs-context-items">
|
|
|
<li><a href="javascript:void(0);" data-bind="hueLink: definition.url"><i class="fa fa-fw" data-bind="css: {'fa-folder-open-o': definition.type === 'dir', 'fa-file-text-o': definition.type === 'file'}"></i> ${ _('Open in File Browser') }</a></li>
|
|
|
- <!-- ko if: IS_HUE_4 -->
|
|
|
+ <!-- ko if: IS_HUE_4 && definition.type === 'file' -->
|
|
|
<li><a href="javascript:void(0);" data-bind="click: openInImporter"><!-- ko template: { name: 'app-icon-template', data: { icon: 'importer' } } --><!-- /ko --> ${ _('Open in Importer') }</a></li>
|
|
|
<!-- /ko -->
|
|
|
<!-- ko if: $currentApp() === 'editor' -->
|