|
|
@@ -269,9 +269,16 @@ from notebook.conf import ENABLE_QUERY_BUILDER, ENABLE_QUERY_SCHEDULING, ENABLE_
|
|
|
</a>
|
|
|
<!-- /ko -->
|
|
|
|
|
|
- <a class="btn" data-bind="hueLink: '${ url('notebook:notebooks') }?type=' + editorType(), attr: { 'title': editorMode() ? '${ _('Queries') }' : '${ _('Notebooks') }' }" rel="tooltip" data-placement="bottom">
|
|
|
+ <!-- ko if: IS_HUE_4 -->
|
|
|
+ <a class="btn" data-bind="hueLink: '/home?type=' + (editorMode() ? 'query-' : '') + editorType(), attr: { 'title': editorMode() ? '${ _('Queries') }' : '${ _('Notebooks') }' }" rel="tooltip" data-placement="bottom">
|
|
|
<i class="fa fa-tags"></i>
|
|
|
</a>
|
|
|
+ <!-- /ko -->
|
|
|
+ <!-- ko ifnot: IS_HUE_4 -->
|
|
|
+ <a class="btn" data-bind="hueLink: '${ url('notebook:notebook') }?type=' + editorType(), attr: { 'title': editorMode() ? '${ _('Queries') }' : '${ _('Notebooks') }' }" rel="tooltip" data-placement="bottom">
|
|
|
+ <i class="fa fa-tags"></i>
|
|
|
+ </a>
|
|
|
+ <!-- /ko -->
|
|
|
|
|
|
<a class="btn pointer" title="${ _('Context') }" rel="tooltip" data-placement="bottom" data-bind="css: {'active': $root.isContextPanelVisible }, click: function() { $root.isContextPanelVisible(!$root.isContextPanelVisible()); }">
|
|
|
<i class="fa fa-cogs"></i>
|