|
|
@@ -263,11 +263,16 @@ ${ components.menubar(is_embeddable) }
|
|
|
${_('and stored in')}
|
|
|
<!-- ko if: details.properties.format === 'kudu' -->
|
|
|
<div>${_('Kudu')}</div>
|
|
|
+ <!-- /ko -->
|
|
|
+ <!-- ko if: details.properties.format !== 'kudu' -->
|
|
|
+ <!-- ko if: hdfs_link -->
|
|
|
+ <div>
|
|
|
+ <a data-bind="hueLink: hdfs_link, attr: { title: $parent.catalogEntry.getHdfsFilePath() }" target="_blank" >${_('location')}</a>
|
|
|
+ </div>
|
|
|
+ <!-- /ko -->
|
|
|
+ <!-- ko ifnot: hdfs_link -->
|
|
|
+ <div>${_('unknown location')}</div>
|
|
|
<!-- /ko -->
|
|
|
- <!-- ko if: details.properties.format !== 'kudu' -->
|
|
|
- <div>
|
|
|
- <a href="javascript: void(0);" data-bind="storageContextPopover: { path: hdfs_link.replace('/filebrowser/view=', ''), offset: { left: 5 } }"> ${_('location')}</a>
|
|
|
- </div>
|
|
|
<!-- /ko -->
|
|
|
</div>
|
|
|
<!-- /ko -->
|
|
|
@@ -480,12 +485,14 @@ ${ components.menubar(is_embeddable) }
|
|
|
<div>${ _('Owner') }</div>
|
|
|
<div><span data-bind="text: owner_name ? owner_name : '${ _ko('None') }'"></span> <span data-bind="visible: owner_type">(<span data-bind="text: owner_type"></span>)</span></div>
|
|
|
</div>
|
|
|
- <div class="metastore-property">
|
|
|
- <div>${ _('Location') }</div>
|
|
|
- <div>
|
|
|
- <a href="javascript: void(0);" data-bind="storageContextPopover: { path: hdfs_link.replace('/filebrowser/view=', ''), offset: { left: 5 } }"> ${_('Location')}</a>
|
|
|
+ <!-- ko if: hdfs_link -->
|
|
|
+ <div class="metastore-property">
|
|
|
+ <div>${ _('Location') }</div>
|
|
|
+ <div>
|
|
|
+ <a data-bind="hueLink: hdfs_link, attr: { title: $parent.catalogEntry.getHdfsFilePath() }" target="_blank" >${_('location')}</a>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ <!-- /ko -->
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- ko with: parameters -->
|