提交 5a9f2c55 编写于 作者: R Ryan Campbell

Hide the advanced tab if user doesn't can't UPLOAD_PLUGINS or CONFIGURE_UPDATECENTER

上级 474964cc
......@@ -32,6 +32,8 @@ THE SOFTWARE.
<l:tab name="${%Available}" active="${page=='available'}" href="./available" />
<l:tab name="${%Installed}" active="${page=='installed'}" href="./installed" />
<!--<l:tab name="${%Sites}" active="${page=='sites'}" href="./sites" />-->
<j:if test="${h.hasPermission(app.pluginManager.UPLOAD_PLUGINS) || h.hasPermission(app.pluginManager.CONFIGURE_UPDATECENTER)}">
<l:tab name="${%Advanced}" active="${page=='advanced'}" href="./advanced" />
</j:if>
</l:tabBar>
</j:jelly>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册