@@ -263,11 +263,16 @@ ${ components.menubar(is_embeddable) }
263263 ${_('and stored in ')}
264264 <!-- ko if: details .properties.format === 'kudu' -->
265265 <div > ${_('Kudu ')}</div >
266+ <!-- /ko -->
267+ <!-- ko if: details .properties.format !== 'kudu' -->
268+ <!-- ko if: hdfs_link -->
269+ <div >
270+ <a data-bind ="hueLink: hdfs_link, attr: { title : $parent.catalogEntry.getHdfsFilePath() }" target="_blank" > ${_('location ')}</a >
271+ </div >
272+ <!-- /ko -->
273+ <!-- ko ifnot: hdfs_link -->
274+ <div > ${_('unknown location ')}</div >
266275 <!-- /ko -->
267- <!-- ko if: details .properties.format !== 'kudu' -->
268- <div >
269- <a href="javascript: void(0);" data-bind ="storageContextPopover: { path : hdfs_link.replace(' /filebrowser/view=' , ' ' ), offset : { left : 5 } }"> ${_('location ')}</a >
270- </div >
271276 <!-- /ko -->
272277 </div >
273278 <!-- /ko -->
@@ -480,12 +485,14 @@ ${ components.menubar(is_embeddable) }
480485 <div > ${ _('Owner ') }</div >
481486 <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 >
482487 </div >
483- <div class="metastore-property ">
484- <div > ${ _('Location ') }</div >
485- <div >
486- <a href="javascript: void(0);" data-bind ="storageContextPopover: { path : hdfs_link.replace(' /filebrowser/view=' , ' ' ), offset : { left : 5 } }"> ${_('Location ')}</a >
488+ <!-- ko if: hdfs_link -->
489+ <div class="metastore-property ">
490+ <div > ${ _('Location ') }</div >
491+ <div >
492+ <a data-bind ="hueLink: hdfs_link, attr: { title : $parent.catalogEntry.getHdfsFilePath() }" target="_blank" > ${_('location ')}</a >
493+ </div >
487494 </div >
488- </ div >
495+ <!-- /ko -- >
489496 </div >
490497 </div >
491498 <!-- ko with: parameters -->
0 commit comments