고객센터 연락처 미노출 조건 추가 - 값 공백 시 th:if로 처리
This commit is contained in:
@@ -31,7 +31,9 @@
|
|||||||
<option th:each="site : ${relatedSites}" th:value="${site.url}" th:text="${site.name}"></option>
|
<option th:each="site : ${relatedSites}" th:value="${site.url}" th:text="${site.name}"></option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<p class="footer-contact" th:text="'고객센터 ' + ${customerCenterContact}">고객센터 1588-3388</p>
|
<!-- 고객센터 연락처: PortalProperty(Portal/customer.center.contact). 값이 공백이면 미노출 -->
|
||||||
|
<p class="footer-contact" th:if="${#strings.trimmed(customerCenterContact) != ''}"
|
||||||
|
th:text="'고객센터 ' + ${customerCenterContact}">고객센터 1588-3388</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user