浏览代码

HUE-7964 [core] Do not crash on admin wizard page when oozie is blacklisted

Romain Rigaux 7 年之前
父节点
当前提交
c4a10dbddc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/about/src/about/templates/admin_wizard.mako

+ 1 - 1
apps/about/src/about/templates/admin_wizard.mako

@@ -139,7 +139,7 @@ ${ layout.menubar(section='quick_start') }
                     </a>
                   </li>
               % endif
-              % if IS_HUE_4.get():
+              % if IS_HUE_4.get() and 'oozie' in app_names:
                   <li>
                     <a href="javascript:void(0)" class="installBtn" data-loading-text="${ _('Installing...') }"
                        data-sample-url="${ url('oozie:install_examples') }">