Internal help: Only show link if user is admin

master
François-Xavier Thomas 5 years ago committed by jvoisin
parent 55f9a41673
commit 6df42736e6
  1. 2
      airsonic-main/src/main/webapp/WEB-INF/jsp/help.jsp

@ -64,6 +64,8 @@
<p><fmt:message key="help.logfile"><fmt:param value="${model.logFile}"/></fmt:message> </p> <p><fmt:message key="help.logfile"><fmt:param value="${model.logFile}"/></fmt:message> </p>
<div class="forward"><a href="help.view?"><fmt:message key="common.refresh"/></a></div> <div class="forward"><a href="help.view?"><fmt:message key="common.refresh"/></a></div>
<c:if test="${model.user.adminRole}">
<div class="forward"><a href="internalhelp.view?"><fmt:message key="common.more"/></a></div> <div class="forward"><a href="internalhelp.view?"><fmt:message key="common.more"/></a></div>
</c:if>
</body></html> </body></html>

Loading…
Cancel
Save