Explorar o código

[spark] Add link to Metastore in the table preview

Enrico Berti %!s(int64=10) %!d(string=hai) anos
pai
achega
151d8ec
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      desktop/core/src/desktop/templates/ko_components.mako

+ 3 - 0
desktop/core/src/desktop/templates/ko_components.mako

@@ -180,6 +180,9 @@ from django.utils.translation import ugettext as _
     <div id="assistQuickLook" class="modal hide fade">
       <div class="modal-header">
         <a href="#" class="close" data-dismiss="modal">&times;</a>
+        <a class="tableLink pull-right" href="#" target="_blank" style="margin-right: 20px;margin-top:6px">
+          <i class="fa fa-external-link"></i> ${ _('View in Metastore Browser') }
+        </a>
         <h3>${_('Data sample for')} <span class="tableName"></span></h3>
       </div>
       <div class="modal-body" style="min-height: 100px">