|
|
@@ -515,8 +515,8 @@ ${ components.menubar(is_embeddable) }
|
|
|
<div class="span12 tile entries-table-container">
|
|
|
<h4 class="entries-table-header">${ _('Tables') }</h4>
|
|
|
<div class="actionbar-actions" data-bind="visible: tables().length > 0">
|
|
|
- <button class="btn toolbarBtn margin-left-20" title="${_('Browse the selected table')}" data-bind="click: function () { onTableClick(selectedTables()[0].catalogEntry); selectedTables([]); }, disable: selectedTables().length !== 1"><i class="fa fa-eye"></i> ${_('View')}</button>
|
|
|
- <button class="btn toolbarBtn" title="${_('Query the selected table')}" data-bind="click: function () { IS_HUE_4 ? queryAndWatch('/notebook/browse/' + selectedTables()[0].catalogEntry.path.join('/') + '/', $root.source().type) : location.href = '/notebook/browse/' + selectedTables()[0].catalogEntry.path.join('/'); }, disable: selectedTables().length !== 1">
|
|
|
+ <button class="btn toolbarBtn margin-left-20" title="${_('Browse the selected table')}" data-bind="click: function () { onTableClick(selectedTables()[0].catalogEntry()); selectedTables([]); }, disable: selectedTables().length !== 1"><i class="fa fa-eye"></i> ${_('View')}</button>
|
|
|
+ <button class="btn toolbarBtn" title="${_('Query the selected table')}" data-bind="click: function () { IS_HUE_4 ? queryAndWatch('/notebook/browse/' + selectedTables()[0].catalogEntry().path.join('/') + '/', $root.source().type) : location.href = '/notebook/browse/' + selectedTables()[0].catalogEntry().path.join('/'); }, disable: selectedTables().length !== 1">
|
|
|
<i class="fa fa-play fa-fw"></i> ${_('Query')}
|
|
|
</button>
|
|
|
% if has_write_access:
|