[metastore] Open table location link in file browser in responsive
@@ -292,8 +292,15 @@ ${ components.menubar() }
${_('Stored in')} Kudu
<!-- /ko -->
<!-- ko if: details.properties.format != 'kudu' -->
+ <!-- ko if: IS_HUE_4 -->
+ <a data-bind="click: function () { huePubSub.publish('open.fb.folder', hdfs_link.replace(/\/filebrowser\/view=/g, '') ); }" href="javascript:void(0)" title="${_('Open data location')}">
+ ${_('Location')}
+ </a>
+ <!-- /ko -->
+ <!-- ko if: ! IS_HUE_4 -->
<a data-bind="attr: {'href': hdfs_link, 'rel': path_location}" title="${_('Open data location')}">${_('Location')}</a>
<!-- /ko -->
+ <!-- /ko -->
</div>
<!-- ko with: $parent.tableStats -->
<!-- ko if: typeof last_modified_by !== 'undefined' -->
