浏览代码

HUE-7522 [frontend] Link to the latest editor from the oldest editor alert

Johan Ahlen 8 年之前
父节点
当前提交
4e72f67
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      apps/beeswax/src/beeswax/templates/execute.mako

+ 2 - 2
apps/beeswax/src/beeswax/templates/execute.mako

@@ -242,9 +242,9 @@ ${ layout.menubar(section='query') }
     <div class="alert">
       ${ _('This is the old SQL Editor, it is recommended to instead use: ') }
       % if app_name == 'impala':
-        <a href="${ url('notebook:editor') }?type=impala" target="_blank">${_('Impala')}</a>
+        <a href="/hue/editor?type=impala" target="_blank">${_('Impala')}</a>
       % else:
-        <a href="${ url('notebook:editor') }?type=hive" target="_blank">${_('Hive')}</a>
+        <a href="/hue/editor?type=hive" target="_blank">${_('Hive')}</a>
       % endif
     </div>
     % endif