fix #2409 add brandName and logoPath

This commit is contained in:
Shinsuke Sugaya 2020-02-20 17:56:02 +09:00
parent 1a09d53951
commit cb47bd59b5

View file

@ -2,8 +2,8 @@
<aside class="main-sidebar sidebar-dark-primary">
<la:link href="/admin/" styleClass="brand-link text-center">
<span class="brand-text">
<img src="${fe:url('/images/logo-head.png')}"
alt="<la:message key="labels.header_brand_name" />" />
<c:if test="${empty param.brandName or empty param.logoPath}"><img src="${fe:url('/images/logo-head.png')}" alt="<la:message key="labels.header_brand_name" />" /></c:if
><c:if test="${not empty param.brandName and not empty param.logoPath}"><img src="${param.logoPath}" alt="${f:h(param.brandName)}" /></c:if>
</span>
</la:link>
<div class="sidebar">