[metastore] Show partition icon on table browser sends to Hue 3
In Hue 4 the page is on the Partition tabs now.
@@ -643,11 +643,6 @@ ${ components.menubar(is_embeddable) }
% if has_write_access:
<a class="inactive-action" href="#" data-bind="tooltip: { placement: 'bottom', delay: 750 }, click: showImportData, visible: tableDetails() && ! tableDetails().is_view" title="${_('Import Data')}"><i class="fa fa-upload fa-fw"></i></a>
% endif
- <!-- ko if: tableDetails() -->
- <!-- ko if: tableDetails().partition_keys.length -->
- <a class="inactive-action" data-bind="tooltip: { placement: 'bottom', delay: 750 }, attr: { 'href': '/metastore/table/' + database.name + '/' + name + '/partitions' }" title="${_('Show Partitions')}"><i class="fa fa-sitemap fa-fw"></i></a>
- <!-- /ko -->
- <!-- /ko -->
% if has_write_access:
<a class="inactive-action" href="#dropSingleTable" data-toggle="modal" data-bind="tooltip: { placement: 'bottom', delay: 750 }, attr: { 'title' : tableDetails() && tableDetails().is_view ? '${_('Drop View')}' : '${_('Drop Table')}' }"><i class="fa fa-times fa-fw"></i></a>
% endif
